Nuxt/test/fixtures/custom-dirs/nuxt.config.js

34 lines
598 B
JavaScript
Raw Normal View History

2018-03-16 16:12:06 +00:00
export default {
build: {
extractCSS: true,
optimization: {
splitChunks: {
name: true
}
},
postcss: {
postcssOptions: {
preset: {
autoprefixer: {
grid: true
}
}
}
},
filenames: {
css: () => {
return '[name].css'
}
}
},
2018-02-03 16:04:15 +00:00
css: [{ src: '~/custom-assets/app.css' }],
dir: {
assets: 'custom-assets',
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
}
}