mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
[examples] Update custom filenames #574
This commit is contained in:
parent
7b7a102be3
commit
56f3be060c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user