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

28 lines
392 B
JavaScript
Raw Normal View History

2018-03-24 08:01:57 +00:00
export default {
build: {
extractCSS: true,
optimization: {
splitChunks: {
name: true
}
2018-08-15 14:53:31 +00:00
},
postcss: {
postcssOptions: {
preset: {
autoprefixer: {
grid: true
}
2018-08-15 14:53:31 +00:00
}
}
},
filenames: {
css: () => {
return '[name].css'
}
2018-03-24 08:01:57 +00:00
}
},
css: [
'~/assets/global.css'
]
}