Nuxt/test/fixtures/modern/nuxt.config.js
2020-06-30 19:47:42 +02:00

17 lines
318 B
JavaScript

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