Nuxt/test/fixtures/modern/nuxt.config.js

19 lines
317 B
JavaScript
Raw Normal View History

export default {
modern: true,
build: {
filenames: {
app: ({ isModern }) => {
return `${isModern ? 'modern-' : ''}[name].js`
},
chunk: ({ isModern }) => {
return `${isModern ? 'modern-' : ''}[name].js`
}
}
},
render: {
http2: {
push: true
}
}
}