Merge pull request #600 from pi0/patch-3

[examples] Update custom filenames #574
This commit is contained in:
Sébastien Chopin 2017-04-24 15:08:13 +02:00 committed by GitHub
commit a24522edad

View File

@ -1,9 +1,9 @@
module.exports = {
build: {
filenames: {
css: 'app.css', // default: style.css
vendor: 'vendor.js', // default: vendor.bundle.js
app: 'app.js' // default: nuxt.bundle.js
manifest: 'manifest.[hash].js', // default: manifest.[hash].js
vendor: 'vendor.[hash].js', // default: vendor.bundle.[hash].js
app: 'app.[chunkhash].js' // default: nuxt.bundle.[chunkhash].js
},
vendor: ['lodash'],
// Loaders config (Webpack 2)