mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-05-06 20:09:14 -05:00
docs(cli-service): Clarify object options for css.extract (#4402) [ci skip]
Link to mini-css-extract-plugin so users can check what kind of options they can provide. close #4401
This commit is contained in:
committed by
Haoqun Jiang
parent
78f5a5dba6
commit
5dfea8134f
@@ -266,6 +266,8 @@ See [the plugin's README](https://github.com/vuejs/vue-cli/blob/dev/packages/%40
|
||||
When building as a library, you can also set this to `false` to avoid your users having to import the CSS themselves.
|
||||
|
||||
Extracting CSS is disabled by default in development mode since it is incompatible with CSS hot reloading. However, you can still enforce extraction in all cases by explicitly setting the value to `true`.
|
||||
|
||||
Instead of a `true`, you can also pass an object of options for the [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) if you want to further configure what this plugin does exactly.
|
||||
|
||||
### css.sourceMap
|
||||
|
||||
|
||||
Reference in New Issue
Block a user