Nuxt/test/fixtures/extract-css/nuxt.config.js

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'
]
}