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