Skip to content

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

Open
ahoereth wants to merge 1 commit into
xiaofuzi:masterfrom
ahoereth:feature/no_modules
Open

Do not export CSS as string when output is set to a file path.#6
ahoereth wants to merge 1 commit into
xiaofuzi:masterfrom
ahoereth:feature/no_modules

Conversation

@ahoereth
Copy link
Copy Markdown
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
Copy Markdown
Owner

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

@unscriptable
Copy link
Copy Markdown

👍 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