mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
parent
8cfad859ac
commit
4e6369cefa
@ -41,12 +41,11 @@ export default defineUntypedSchema({
|
|||||||
profile: process.argv.includes('--profile'),
|
profile: process.argv.includes('--profile'),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enables Common CSS Extraction using
|
* Enables Common CSS Extraction.
|
||||||
* [Vue Server Renderer guidelines](https://ssr.vuejs.org/guide/css.html).
|
|
||||||
*
|
*
|
||||||
* Using [extract-css-chunks-webpack-plugin](https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/) under the hood, your CSS will be extracted
|
* Using [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) under the hood, your CSS will be extracted
|
||||||
* into separate files, usually one per component. This allows caching your CSS and
|
* into separate files, usually one per component. This allows caching your CSS and
|
||||||
* JavaScript separately and is worth trying if you have a lot of global or shared CSS.
|
* JavaScript separately.
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* ```js
|
* ```js
|
||||||
|
Loading…
Reference in New Issue
Block a user