Skip to content

Commit d71943a

Browse files
test(cjs): drop the concatenation variant of the namespace re-export case
CommonJS modules concatenate only with `concatenateModules.commonjs` from an ESM root, so both variants emitted identical bundles.
1 parent 0e3060d commit d71943a

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22

3-
/** @type {import("../../../../").Configuration[]} */
4-
module.exports = [false, true].map((concatenateModules) => ({
3+
/** @type {import("../../../../").Configuration} */
4+
module.exports = {
55
mode: "production",
66
module: {
77
rules: [
@@ -13,7 +13,6 @@ module.exports = [false, true].map((concatenateModules) => ({
1313
]
1414
},
1515
optimization: {
16-
minimize: false,
17-
concatenateModules
16+
minimize: false
1817
}
19-
}));
18+
};

0 commit comments

Comments
 (0)