You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is outside the purview of Svelte itself, which compiles one component at a time, and doesn't actually access the filesystem at all. Something like this could be implemented with a preprocessor which you pass to the bundler plugin.
This is outside the purview of Svelte itself, which compiles one component at a time, and doesn't actually access the filesystem at all. Something like this could be implemented with a preprocessor which you pass to the bundler plugin.
@Conduitry I applied the technique using the guidelines of this issue sveltejs/rollup-plugin-svelte#65, but as you can see this does not work very well because of the svelte CSS imposition.
Problem:
When using external libraries or cssInJs in customElement, we have problems with the scope of shadowDom.
A good feature for svelte/compile:
svelte should would read the file content in the compilation and automatically insert the content into shadowDom.
MySvelte.svelte:
Currently, after compilation looks like this (build.js):
With the new feature (build.js):
The text was updated successfully, but these errors were encountered: