2022-02-25 12:42:34 +00:00
|
|
|
export default {
|
2022-04-01 13:02:26 +00:00
|
|
|
/** @version 3 */
|
|
|
|
experimental: {
|
|
|
|
/**
|
|
|
|
* Set to true to generate an async entrypoint for the Vue bundle (for module federation support).
|
|
|
|
*/
|
|
|
|
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
|
|
|
|
*/
|
|
|
|
reactivityTransform: false
|
|
|
|
}
|
2022-02-25 12:42:34 +00:00
|
|
|
}
|