Nuxt/test/fixtures/modern/nuxt.config.js
2018-12-05 19:51:58 +03:30

20 lines
353 B
JavaScript

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