2022-02-25 12:42:34 +00:00
|
|
|
export default {
|
2022-04-01 13:02:26 +00:00
|
|
|
/** @version 3 */
|
|
|
|
experimental: {
|
|
|
|
/**
|
2022-04-16 13:53:36 +00:00
|
|
|
* Set to true to generate an async entry point for the Vue bundle (for module federation support).
|
2022-04-01 13:02:26 +00:00
|
|
|
*/
|
|
|
|
asyncEntry: {
|
|
|
|
$resolve: (val, get) => val ?? (get('dev') && get('experimental.viteNode')) ?? false
|
|
|
|
},
|
2022-03-11 08:41:27 +00:00
|
|
|
|
2022-04-01 13:02:26 +00:00
|
|
|
/**
|
|
|
|
* Use vite-node for on-demand server chunk loading
|
|
|
|
*/
|
|
|
|
viteNode: process.env.EXPERIMENTAL_VITE_NODE ? true : false,
|
2022-03-17 22:17:59 +00:00
|
|
|
|
2022-04-01 13:02:26 +00:00
|
|
|
/**
|
|
|
|
* Enable Vue's reactivity transform
|
|
|
|
* @see https://vuejs.org/guide/extras/reactivity-transform.html
|
|
|
|
*/
|
2022-06-10 14:31:36 +00:00
|
|
|
reactivityTransform: false,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Externalize `vue`, `@vue/*` and `vue-router` when build
|
|
|
|
* @see https://github.com/nuxt/framework/issues/4084
|
|
|
|
*/
|
2022-07-06 19:15:00 +00:00
|
|
|
externalVue: false,
|
2022-04-01 13:02:26 +00:00
|
|
|
}
|
2022-02-25 12:42:34 +00:00
|
|
|
}
|