Nuxt/test/fixtures/custom-dirs/nuxt.config.js
2018-10-17 01:25:56 +03:30

32 lines
556 B
JavaScript

export default {
build: {
extractCSS: true,
optimization: {
splitChunks: {
name: true
}
},
postcss: {
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'
}
}