mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 07:05:11 +00:00
28 lines
392 B
JavaScript
28 lines
392 B
JavaScript
export default {
|
|
build: {
|
|
extractCSS: true,
|
|
optimization: {
|
|
splitChunks: {
|
|
name: true
|
|
}
|
|
},
|
|
postcss: {
|
|
postcssOptions: {
|
|
preset: {
|
|
autoprefixer: {
|
|
grid: true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
filenames: {
|
|
css: () => {
|
|
return '[name].css'
|
|
}
|
|
}
|
|
},
|
|
css: [
|
|
'~/assets/global.css'
|
|
]
|
|
}
|