mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
34 lines
598 B
JavaScript
34 lines
598 B
JavaScript
export default {
|
|
build: {
|
|
extractCSS: true,
|
|
optimization: {
|
|
splitChunks: {
|
|
name: true
|
|
}
|
|
},
|
|
postcss: {
|
|
postcssOptions: {
|
|
preset: {
|
|
autoprefixer: {
|
|
grid: true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
filenames: {
|
|
css: () => {
|
|
return '[name].css'
|
|
}
|
|
}
|
|
},
|
|
css: [{ src: '~/custom-assets/app.css' }],
|
|
dir: {
|
|
assets: 'custom-assets',
|
|
layouts: 'custom-layouts/layouts',
|
|
middleware: 'custom-middleware',
|
|
pages: 'custom-pages',
|
|
static: 'custom-static',
|
|
store: 'custom-store'
|
|
}
|
|
}
|