mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 16:43:55 +00:00
21 lines
368 B
JavaScript
21 lines
368 B
JavaScript
export default {
|
|
modern: true,
|
|
build: {
|
|
filenames: {
|
|
app: ({ isModern }) => {
|
|
return `${isModern ? 'modern-' : ''}[name].js`
|
|
},
|
|
chunk: ({ isModern }) => {
|
|
return `${isModern ? 'modern-' : ''}[name].js`
|
|
}
|
|
}
|
|
},
|
|
render: {
|
|
csp: true,
|
|
crossorigin: 'use-credentials',
|
|
http2: {
|
|
push: true
|
|
}
|
|
}
|
|
}
|