mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-17 19:25:13 +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
|
|
}
|
|
}
|
|
}
|