From b840cc447f9aed336c55dcf75b9244846b724ad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20L=C3=BCnborg?= Date: Tue, 6 Aug 2019 16:45:17 +0200 Subject: [PATCH] docs(cli-service): Clarify object options for css.extract Link to mini-css-extract-plugin so users can check what kind of options they can provide. close #4401 --- docs/config/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/config/README.md b/docs/config/README.md index 32960393db..6b3e8a7055 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -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