File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -175,13 +175,15 @@ module.exports = {
175
175
### css.extract
176
176
177
177
- Type: ` boolean `
178
- - Default: ` true ` (in production mode)
178
+ - Default: ` true ` (in production mode, always ` false ` otherwise )
179
179
180
180
Whether to extract CSS in your components into a standalone CSS files (instead of inlined in JavaScript and injected dynamically).
181
181
182
182
This is also disabled by default when building as web components (styles are inlined and injected into shadowRoot).
183
183
184
184
When building as a library, you can also set this to ` false ` to avoid your users having to import the CSS themselves.
185
+
186
+ Extracting CSS is always disabled in ` development ` since it breaks Hot Module Replacement.
185
187
186
188
### css.sourceMap
187
189
You can’t perform that action at this time.
0 commit comments