docs(css.extract): Explain "always-off" in development mode (#1840) [ci skip]

closes #1801
This commit is contained in:
Thorsten Lünborg
2018-07-13 15:14:20 +02:00
committed by Guillaume Chau
parent 1ec6cf3302
commit 47fb3b8189
+3 -1
View File
@@ -175,13 +175,15 @@ module.exports = {
### css.extract
- Type: `boolean`
- Default: `true` (in production mode)
- Default: `true` (in production mode, always `false` otherwise)
Whether to extract CSS in your components into a standalone CSS files (instead of inlined in JavaScript and injected dynamically).
This is also disabled by default when building as web components (styles are inlined and injected into shadowRoot).
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 always disabled in `development` since it breaks Hot Module Replacement.
### css.sourceMap