Skip to content
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

Do not export CSS as string when output is set to a file path. #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ahoereth
Copy link
Contributor

Adds the possibility to set export to true when it is desired to export the generated CSS as string. This is mostly undesirable because most users will extract all the styles to a single css bundle file. Currently the JS bundle blows up in size because it always includes all the CSS styles no matter which options are set.

@xiaofuzi
Copy link
Owner

Can not export css as string if the insert option set to be true.

@unscriptable
Copy link

👍 for something like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants