Skip to content

Commit 1795e4d

Browse files
3.0.0 (#83)
* docs: update * 3.0.0
1 parent 9bd39c6 commit 1795e4d

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,9 @@ will be injected by our default injection code.
223223
The default behavior of this plugin takes all the CSS code of your application directly to the entrypoint generated.
224224
The `relativeCSSInjection` if configured to `true` will inject the CSS code of every entrypoint to the relative importer.
225225

226+
If a CSS code it's not injected inside some JS a warning will be showed.
227+
To disable this warning set `suppressUnusedCssWarning` to `true`.
228+
226229
## Contributing
227230

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

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vite-plugin-css-injected-by-js",
3-
"version": "2.5.0",
3+
"version": "3.0.0",
44
"description": "A Vite plugin that takes the CSS and adds it to the page through the JS. For those who want a single JS file.",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",

0 commit comments

Comments
 (0)