-
-
Notifications
You must be signed in to change notification settings - Fork 782
Closed
Labels
teamThe issue/pr is created by the member of Rspack.The issue/pr is created by the member of Rspack.
Description
// index.js
export const a = 1;
export const b = 2;// rspack.config.js
module.exports = {
entry: "./index.js`,
mode: "development",
devtool: false,
output: {
library: { type: "module" },
}
experiments: {
outputModule: true
},
}Rspack's startup:
var __webpack_exports__ = __webpack_require__("./index.js");webpack's startup
var __webpack_exports__a = __webpack_exports__.a;
var __webpack_exports__b = __webpack_exports__.b;
export { __webpack_exports__a as a, __webpack_exports__b as b };Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
teamThe issue/pr is created by the member of Rspack.The issue/pr is created by the member of Rspack.