2018-03-16 16:12:06 +00:00
|
|
|
export default {
|
2018-10-16 21:55:56 +00:00
|
|
|
build: {
|
|
|
|
extractCSS: true,
|
|
|
|
optimization: {
|
|
|
|
splitChunks: {
|
|
|
|
name: true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
postcss: {
|
2023-03-16 16:05:03 +00:00
|
|
|
postcssOptions: {
|
|
|
|
preset: {
|
|
|
|
autoprefixer: {
|
|
|
|
grid: true
|
|
|
|
}
|
2018-10-16 21:55:56 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
filenames: {
|
|
|
|
css: () => {
|
|
|
|
return '[name].css'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2018-02-03 16:04:15 +00:00
|
|
|
css: [{ src: '~/custom-assets/app.css' }],
|
|
|
|
dir: {
|
|
|
|
assets: 'custom-assets',
|
2018-10-16 21:55:28 +00:00
|
|
|
layouts: 'custom-layouts/layouts',
|
2018-02-03 23:24:45 +00:00
|
|
|
middleware: 'custom-middleware',
|
2018-02-03 16:04:15 +00:00
|
|
|
pages: 'custom-pages',
|
2018-02-04 09:31:03 +00:00
|
|
|
static: 'custom-static',
|
|
|
|
store: 'custom-store'
|
2018-02-03 16:04:15 +00:00
|
|
|
}
|
2018-02-03 11:10:58 +00:00
|
|
|
}
|