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 = { 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)