rollup-plugin-svelte
rollup-plugin-svelte copied to clipboard
Compile Svelte components with Rollup
This PR adds an option in rollup.config.js to ignore warnings about package.json not being exported. See discussion in #181.
### Describe the bug Today i ran into a weird behaviour, which took a few minutes to debug, my folder structure: - keyboard.svelte - keyboard.js - keyboard.css Where the js...
Hello! Recently added a new ultity [flatted](https://github.com/WebReflection/flatted) to my project to handle some circular JSON. Unfortunately, this seems to have broken the build. I get the following error, and the...
Hello, We ran into a bit of confusion today as we wanted to use this plugin to compile a Svelte component for SSR. The type definitions provided for the `CompileOptions`...
Hi, not sure if the current builds allow this, but... Would it be possible to have a root component, which itself is a custom element, but any *.svelte imports it...
Getting the "The following packages did not export their `package.json`" warning importing a package. I requested a PR for that package and owner closed it saying bundlers should use `fs`...
Following this discussion: https://github.com/sveltejs/rollup-plugin-svelte/pull/86. New option to specify preprocessors order. Issue: https://github.com/sveltejs/svelte/issues/4141. PR for Svelte itself: ~https://github.com/sveltejs/svelte/pull/4222~ https://github.com/sveltejs/svelte/pull/4282.
I notice that this plugin is not used in the Svelte REPL implementation, but instead the REPL indroduces its own Rollup plugin https://github.com/sveltejs/svelte-repl/blob/master/src/workers/bundler/index.js#L101 I'm just curious why is this? Might...
If the app uses a particular version of Svelte, and an imported package (using `pkg.svelte` or `pkg[svelte.root]`) uses a different version, warn that there may be some odd behaviour
Ref https://github.com/sveltejs/svelte/issues/604#issuecomment-304536835