diff options
| -rw-r--r-- | postcss.config.js | 5 | ||||
| -rw-r--r-- | svelte.config.js | 11 | ||||
| -rw-r--r-- | tsconfig.json | 3 |
3 files changed, 8 insertions, 11 deletions
diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 00000000..8c589bbe --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,5 @@ +export default { + plugins: { + autoprefixer: {} + } +}; diff --git a/svelte.config.js b/svelte.config.js index 540602c1..8ff35355 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,19 +1,10 @@ import adapter from '@sveltejs/adapter-vercel'; import { vitePreprocess } from '@sveltejs/kit/vite'; -import autoprefixer from 'autoprefixer'; -import sveltePreprocess from 'svelte-preprocess'; // /** @type {import('@sveltejs/adapter-vercel').Config} */ /** @type {import('@sveltejs/kit').Config} */ const config = { - preprocess: [ - vitePreprocess(), - sveltePreprocess({ - postcss: { - plugins: [autoprefixer()] - } - }) - ], + preprocess: vitePreprocess(), kit: { adapter: adapter(), alias: { diff --git a/tsconfig.json b/tsconfig.json index 90152e48..949c7c2a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,6 +13,7 @@ "noImplicitThis": true, "noUnusedLocals": true, "noUnusedParameters": true, - "rootDirs": [".", "./.svelte-kit/types", "./.sveltekit-graphql/types", "./$houdini/types"] + "rootDirs": [".", "./.svelte-kit/types", "./.sveltekit-graphql/types", "./$houdini/types"], + "verbatimModuleSyntax": true } } |