admin-vue3/build
DevDengChao 9552a3cd2e fix: remove @intlify/unplugin-vue-i18n to resolve ReferenceError
The plugin forces vue-i18n to use esm-bundler.js entry via resolve alias,
which contains esbuild/rolldown internal module init function references
(init_runtime_dom_esm_bundler, etc.). When the bundler splits code into
chunks, these cross-chunk references become orphaned, causing ReferenceError.

Removing the plugin lets vue-i18n use its standard .mjs entry, which
does not have these problematic references. Locale messages are then
compiled at runtime instead of build time, but functionality is unchanged.

Fixes #230
See https://github.com/rolldown/rolldown/issues/9515
2026-06-15 23:04:13 +08:00
..
vite fix: remove @intlify/unplugin-vue-i18n to resolve ReferenceError 2026-06-15 23:04:13 +08:00