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

Update README.md, add a line about cssCodeSplit #117

Merged
merged 1 commit into from
Oct 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,11 @@ The `relativeCSSInjection` if configured to `true` will inject the CSS code of e
**Set this option to `true` if you are using the multiple entry point option of Rollup.**
_Future release can have an advanced behavior where this options will be configured to true automatically by sniffing user configurations._

If a CSS code it's not injected inside some JS a warning will be showed.
If a CSS chunk is generated that's not imported by any JS chunk, a warning will be shown.
To disable this warning set `suppressUnusedCssWarning` to `true`.

**For this feature to work, `build.cssCodeSplit` must be set to `true`**

## Contributing

When you make changes to plugin locally, you may want to build the js from the typescript file of the plugin.
Expand Down