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
Currently coding a third party widget in sveltejs with tailwindcss and using rollup.js to build.
My goal is to inject the css to the head with the js file.
I have seen people do the following using the rollup-plugin-postcss plugin.
However I cannot use that, do you guys have any suggestions how I can do that using svelte-preprocess?
I currently have this in my App.svelte file and would like the preprocessor to inject it into my .js file but I am having real problems in achieving this since the rollup-plugin-postcss is missing ESM support.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently coding a third party widget in sveltejs with tailwindcss and using rollup.js to build.
My goal is to inject the css to the head with the js file.
I have seen people do the following using the rollup-plugin-postcss plugin.
However I cannot use that, do you guys have any suggestions how I can do that using svelte-preprocess?
I currently have this in my
App.svelte
file and would like the preprocessor to inject it into my .js file but I am having real problems in achieving this since the rollup-plugin-postcss is missing ESM support.App.svelte
Beta Was this translation helpful? Give feedback.
All reactions