We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"vue_runtime_esm_default" value is nested as "default" when vue moudle deps by both ESM and CJS, below is some screenshots.
none
vite
vite:config bundled config file loaded in 632ms +0ms vite:config using resolved config: { vite:config base: '/vite/', vite:config build: { vite:config target: [ 'es2019', 'edge16', 'firefox60', 'chrome61', 'safari11' ], vite:config polyfillDynamicImport: true, vite:config outDir: 'dist', vite:config assetsDir: 'assets', vite:config assetsInlineLimit: 4096, vite:config cssCodeSplit: true, vite:config sourcemap: false, vite:config rollupOptions: {}, vite:config commonjsOptions: { include: [Array], extensions: [Array] }, vite:config minify: 'terser', vite:config terserOptions: {}, vite:config cleanCssOptions: {}, vite:config write: true, vite:config emptyOutDir: null, vite:config manifest: false, vite:config lib: false, vite:config ssr: false, vite:config ssrManifest: false vite:config }, vite:config plugins: [ vite:config 'vite:pre-alias', vite:config 'alias', vite:config 'vite:dynamic-import-polyfill', vite:config 'vite:resolve', vite:config 'vite:html', vite:config 'vite:css', vite:config 'vite:esbuild', vite:config 'vite:json', vite:config 'vite:wasm', vite:config 'vite:worker', vite:config 'vite:asset', vite:config 'vite-plugin-vue2', vite:config 'vite:style-import', vite:config 'vite:css-post', vite:config 'vite:client-inject', vite:config 'vite:import-analysis' vite:config ], vite:config optimizeDeps: { include: [], exclude: [] }, vite:config server: { hmr: { path: 'vite/' } }, vite:config configFile: 'D:/tuhushop/basic/my-vue-app/vite.config.ts', vite:config inlineConfig: { vite:config root: undefined, vite:config base: undefined, vite:config mode: undefined, vite:config configFile: undefined, vite:config logLevel: undefined, vite:config clearScreen: undefined, vite:config server: {} vite:config }, vite:config root: 'D:/tuhushop/basic/my-vue-app', vite:config command: 'serve', vite:config mode: 'development', vite:config isProduction: false, vite:config optimizeCacheDir: 'D:\tuhushop\basic\my-vue-app\node_modules\.vite', vite:config alias: [ vite:config { vite:config find: /^/@vite//, vite:config replacement: 'D:\tuhushop\basic\my-vue-app\node_modules\vite\dist\client/' vite:config } vite:config ], vite:config env: { BASE_URL: '/vite/', MODE: 'development', DEV: true, PROD: false }, vite:config assetsInclude: [Function: assetsInclude], vite:config logger: { vite:config hasWarned: false, vite:config info: [Function: info], vite:config warn: [Function: warn], vite:config error: [Function: error], vite:config clearScreen: [Function: clearScreen] vite:config } vite:config } +5ms
The text was updated successfully, but these errors were encountered:
That's a known issue in esbuild, but there is runtime interop in Vite to handle this. So unless it breaks your code this is not a bug.
Sorry, something went wrong.
Is there any reference document?
evanw/esbuild#706
No branches or pull requests
Describe the bug
"vue_runtime_esm_default" value is nested as "default" when vue moudle deps by both ESM and CJS, below is some screenshots.
Reproduction
none
System Info
vite
2.0.0-beta.48Logs (Optional if provided reproduction)
vite:config bundled config file loaded in 632ms +0ms
vite:config using resolved config: {
vite:config base: '/vite/',
vite:config build: {
vite:config target: [ 'es2019', 'edge16', 'firefox60', 'chrome61', 'safari11' ],
vite:config polyfillDynamicImport: true,
vite:config outDir: 'dist',
vite:config assetsDir: 'assets',
vite:config assetsInlineLimit: 4096,
vite:config cssCodeSplit: true,
vite:config sourcemap: false,
vite:config rollupOptions: {},
vite:config commonjsOptions: { include: [Array], extensions: [Array] },
vite:config minify: 'terser',
vite:config terserOptions: {},
vite:config cleanCssOptions: {},
vite:config write: true,
vite:config emptyOutDir: null,
vite:config manifest: false,
vite:config lib: false,
vite:config ssr: false,
vite:config ssrManifest: false
vite:config },
vite:config plugins: [
vite:config 'vite:pre-alias',
vite:config 'alias',
vite:config 'vite:dynamic-import-polyfill',
vite:config 'vite:resolve',
vite:config 'vite:html',
vite:config 'vite:css',
vite:config 'vite:esbuild',
vite:config 'vite:json',
vite:config 'vite:wasm',
vite:config 'vite:worker',
vite:config 'vite:asset',
vite:config 'vite-plugin-vue2',
vite:config 'vite:style-import',
vite:config 'vite:css-post',
vite:config 'vite:client-inject',
vite:config 'vite:import-analysis'
vite:config ],
vite:config optimizeDeps: { include: [], exclude: [] },
vite:config server: { hmr: { path: 'vite/' } },
vite:config configFile: 'D:/tuhushop/basic/my-vue-app/vite.config.ts',
vite:config inlineConfig: {
vite:config root: undefined,
vite:config base: undefined,
vite:config mode: undefined,
vite:config configFile: undefined,
vite:config logLevel: undefined,
vite:config clearScreen: undefined,
vite:config server: {}
vite:config },
vite:config root: 'D:/tuhushop/basic/my-vue-app',
vite:config command: 'serve',
vite:config mode: 'development',
vite:config isProduction: false,
vite:config optimizeCacheDir: 'D:\tuhushop\basic\my-vue-app\node_modules\.vite',
vite:config alias: [
vite:config {
vite:config find: /^/@vite//,
vite:config replacement: 'D:\tuhushop\basic\my-vue-app\node_modules\vite\dist\client/'
vite:config }
vite:config ],
vite:config env: { BASE_URL: '/vite/', MODE: 'development', DEV: true, PROD: false },
vite:config assetsInclude: [Function: assetsInclude],
vite:config logger: {
vite:config hasWarned: false,
vite:config info: [Function: info],
vite:config warn: [Function: warn],
vite:config error: [Function: error],
vite:config clearScreen: [Function: clearScreen]
vite:config }
vite:config } +5ms
The text was updated successfully, but these errors were encountered: