Breaks .svelte modules
See original GitHub issueI have a svelte module:
<script context="module">
...
export { something }
</script>
<script>
...
</script>
<h1>hello<h1>
Whenever I add svelte-windicss-preprocess
, I can no longer import the module. Instead the bundler hangs. Have tried Rollup and Snowpack.
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (10 by maintainers)
Top Results From Across the Web
Modules • Docs • SvelteKit
SvelteKit analyses your app during the build step by running it. During this process, building is true . This also applies during prerendering....
Read more >Sveltekit Braking changes: Routing, Load Function and new ...
This article going to explain all the breaking changes sveltekit just ... handling from now on there will be no `script` tag with...
Read more >Svelte's module scripts explained - codechips
Let's break it down and start with the basics. First, we create a simple Svelte component that has a module script block.
Read more >Breaking changes in SvelteKit, August 2022 - Josh Collinsworth
SvelteKit introduced breaking changes to its routing and data ... in a page's Svelte file, with a context="module" attribute separating that ...
Read more >Migrating Breaking Changes in SvelteKit - Netlify
Before, the load function lived in the context="module" script tag inside of the .svelte file or the data for the route was magically ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Here’s the component
If you find any issue please let me know.