question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

version 7.0.0 `compilerOptions` breaks preprocess

See original GitHub issue

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: Screen Shot 2020-11-25 at 09 29 35

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
lukeedcommented, Nov 25, 2020

Most people don’t include useless links in their report. “I’m using X … but not really”

1reaction
jacobthesheepcommented, Nov 25, 2020

You need to move the config keys into compilerOptions namespace inside your rollup.config.js file

svelte({
--  dev,
--  hydratable: true,
--  emitCss: true,
++ compilerOptions: {
++   dev,
++   hydratable: true,
++   emitCss: true,
++ },
  preprocess
}),

You have two of these – one in client and server options.

yeah I did that in the repo… also if I add emitCss: true, it doesn’t recognize it

Read more comments on GitHub >

github_iconTop Results From Across the Web

rollup-plugin-svelte
Preprocessor sourcemap support (#157). 7.0.0. New minimum version requirements (#138, #142):. Rollup 2+; Svelte 3.5+ (Svelte 2 is no longer supported) ...
Read more >
MSBuild reference for .NET SDK projects
Reference for the MSBuild properties and items that are understood by the .NET SDK.
Read more >
jest-preset-angular - npm
Jest preset configuration for Angular projects. Latest version: 12.2.3, last published: 22 days ago. Start using jest-preset-angular in your ...
Read more >
Migration Guide
This guide details the changes and how to change your code to migrate to Cypress version 12.0. See the full changelog for version...
Read more >
Using the GNU Compiler Collection
the GNU Free Documentation License, Version 1.3 or any later version published by the ... When you invoke GCC, it normally does preprocessing,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found