-
-
Notifications
You must be signed in to change notification settings - Fork 64
Description
Version
-Details
Source
// foo.ts
export const foo = "foo";// index.ts
import { foo } from "./foo";
export const bar = (): string => {
return `${foo}-bar`;
};
export * from "./foo";Actual
// index.js
export * from "./foo.js";
const bar = ()=>`${foo}-bar`;
export { bar };Expected
import * as __WEBPACK_EXTERNAL_MODULE__foo_js_fdf5aa2d__ from "./foo.js";
const bar = ()=>`${__WEBPACK_EXTERNAL_MODULE__foo_js_fdf5aa2d__.foo}-bar`;
export { bar };
export * from "./foo.js";Reproduce link
https://github.com/Timeless0911/rslib-issue-export-star
Reproduce Steps
- pnpm i
- pnpm build
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels