-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
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
[Bug]: named import is missing when using export * #859
Closed
Comments
- export * from "./foo";
+ export { foo } from "./foo"; import * as __WEBPACK_EXTERNAL_MODULE__foo_js_fdf5aa2d__ from "./foo.js";
const bar = ()=>`${__WEBPACK_EXTERNAL_MODULE__foo_js_fdf5aa2d__.foo}-bar`;
var __webpack_exports__foo = __WEBPACK_EXTERNAL_MODULE__foo_js_fdf5aa2d__.foo;
export { bar, __webpack_exports__foo as foo };
import * as __WEBPACK_EXTERNAL_MODULE__foo_js_fdf5aa2d__ from "./foo.js";
const bar = ()=>`${__WEBPACK_EXTERNAL_MODULE__foo_js_fdf5aa2d__.foo}-bar`;
export { bar }; |
Using import * as __WEBPACK_EXTERNAL_MODULE__foo_js_fdf5aa2d__ from "./foo.js";
var __webpack_require__ = {};
(()=>{
__webpack_require__.d = (exports, definition)=>{
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, {
enumerable: true,
get: definition[key]
});
};
})();
(()=>{
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
})();
var __webpack_exports__ = {};
__webpack_require__.d(__webpack_exports__, {
bar: ()=>bar
});
const bar = ()=>`${__WEBPACK_EXTERNAL_MODULE__foo_js_fdf5aa2d__.foo}-bar`;
var __webpack_exports__bar = __webpack_exports__.bar;
export { __webpack_exports__bar as bar };
|
This was referenced Mar 24, 2025
Fixed in v0.6.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
Details
Source
Actual
Expected
Reproduce link
https://github.com/Timeless0911/rslib-issue-export-star
Reproduce Steps
The text was updated successfully, but these errors were encountered: