mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-15 02:14:44 +00:00
23 lines
593 B
TypeScript
23 lines
593 B
TypeScript
export default {
|
|
/** @version 3 */
|
|
experimental: {
|
|
/**
|
|
* Set to true to generate an async entry point for the Vue bundle (for module federation support).
|
|
*/
|
|
asyncEntry: {
|
|
$resolve: (val, get) => val ?? (get('dev') && get('experimental.viteNode')) ?? false
|
|
},
|
|
|
|
/**
|
|
* Use vite-node for on-demand server chunk loading
|
|
*/
|
|
viteNode: process.env.EXPERIMENTAL_VITE_NODE ? true : false,
|
|
|
|
/**
|
|
* Enable Vue's reactivity transform
|
|
* @see https://vuejs.org/guide/extras/reactivity-transform.html
|
|
*/
|
|
reactivityTransform: false
|
|
}
|
|
}
|