Skip to content

[Bug]: ReferenceError when using wildcard import #391

@chenjiahan

Description

@chenjiahan

Version

0.0.16

Details

Input:

import * as nodeLibs from './libs.js';

Runtime error:

Image

Reproduce link

https://github.com/rspack-contrib/rsbuild-plugin-node-polyfill/tree/rslib_repro_1109

Reproduce Steps

  1. clone the repo
  2. git co rslib_repro_1109
  3. pnpm i
  4. pnpm run test

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