-
-
Notifications
You must be signed in to change notification settings - Fork 81
version 7.0.0 compilerOptions
breaks preprocess
#160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The current template in https://github.com/sveltejs/template, which can be converted to TypeScript mode, uses version 7 of this plugin as well as a preprocessor, and works fine. The official Sapper template hasn't been updated yet. We obviously can't make any guarantees about any third party template. Updating to version 7 of this plugin won't be as simple as just updating your package.json (that's what it means to be a breaking change), and any updates will be the responsibility of the maintainers of that template. |
You need to move the config keys into svelte({
-- dev,
-- hydratable: true,
-- emitCss: true,
++ compilerOptions: {
++ dev,
++ hydratable: true,
++ emitCss: true,
++ },
preprocess
}), You have two of these – one in |
Here's a PR to upgrade sapper-template that you can use as an example: sveltejs/sapper-template#289 |
yeah I did that in the repo.... also if I add |
Most people read the repo before suggesting a solution |
Most people don't include useless links in their report. |
I was able to reproduce this and saw a couple other people report it on Discord. Unfortunately, I'm not quite sure where the error is coming from. It's unclear to me that it's coming from |
wait what do you mean sapper is going away? |
This looks to be an issue in Svelte core: sveltejs/svelte#5722 |
This is the repo I'm using with tailwindcss and sapper-rollup template from https://github.com/andrasbacsai/sapper-tailwind-starter. I ran

npm run dev
and got this error:The text was updated successfully, but these errors were encountered: