Skip to content

[Bug]: Multiple entry files packaged esm file import error undefind #316

@tym3515

Description

@tym3515

Version

"@rslib/core": "^0.0.12",

{
format: 'esm',
output: {
injectStyles: true,
asyncChunks:false,
distPath: {
root: './dist/esm',
css: '.',
cssAsync: '.',
},
},

Details

entry: {
install: './src/install.js',
Active: './src/lib/Active.js',
}

Reproduce link

aAAA

Reproduce Steps

"devDependencies": {
"@eslint/js": "^9.12.0",
"@rsbuild/core": "^1.0.13",
"@rsbuild/plugin-basic-ssl": "^1.1.1",
"@rsbuild/plugin-sass": "^1.0.3",
"@rsbuild/plugin-vue2": "^1.0.1",
"@rslib/core": "^0.0.12",
"eslint": "^9.12.0",
"globals": "^15.11.0",
"prettier": "^3.3.3"
}

Metadata

Metadata

Assignees

Labels

🐞 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions