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

17 lines
318 B
JavaScript
Raw Normal View History

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
}
}
}