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

20 lines
353 B
JavaScript
Raw Normal View History

export default {
modern: true,
build: {
2018-12-05 16:21:58 +00:00
crossorigin: 'use-credentials',
filenames: {
app: ({ isModern }) => {
return `${isModern ? 'modern-' : ''}[name].js`
},
chunk: ({ isModern }) => {
return `${isModern ? 'modern-' : ''}[name].js`
}
}
},
render: {
http2: {
push: true
}
}
}