[examples] Update custom filenames #574

This commit is contained in:
Pooya Parsa 2017-04-21 21:33:29 +04:30 committed by GitHub
parent 7b7a102be3
commit 56f3be060c

View File

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