-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External sass file(bootstrap) #11
Comments
@dephiros Did you configure the preprocessor in your |
@nickreese , yeah I did and the import does work for me.(the style does apply to the page |
@dephiros I completely misread your first comment. Yep, that is how it is configured. CSS from within Svelte components are written to the head of the page. This could be something we can rework in the future if someone wanted to spearhead it. |
@nickreese , I am not very familiar with rollup. Would you be able to provide a general direction in how to change this behavior? |
@dephiros Currently there are 2 rollup configs generated during --- edit: You should be able to adapt this pretty easily for production, but the bundling during development is quiet different. --- /edit I'd find a template where someone was doing what you're looking to do with the generic svelte rollup then:
I'd agree that this should be configurable, but it hasn't made it on our priority list for ElderGuide.com so I haven't built it yet. |
I am trying to port one of my sapper app over and run into a bit of a problem with external sass file
In my sapper project, I add
to the layout component. I tried to do the same thing in this template and it works. However, the style is inline inside the html instead of extracted to a separate file like sapper.
Is there a way to achieve the same behavior with this template.
Thank you
The text was updated successfully, but these errors were encountered: