mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
1edac29eba
[release]
17 lines
318 B
JavaScript
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
|
|
}
|
|
}
|
|
}
|