Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 11582c5

Browse files
authored
Merge pull request #96 from topcoder-platform/CORE-419-security-fix
CORE-419 use filename for HtmlWebpackPlugin
2 parents 1066fa1 + 37e93ee commit 11582c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ module.exports = (webpackConfigEnv) => {
1010
orgName,
1111
projectName: "mfe-core",
1212
webpackConfigEnv,
13-
disableHtmlGeneration: true,
1413
});
1514

1615
return merge(defaultConfig, {
@@ -38,6 +37,7 @@ module.exports = (webpackConfigEnv) => {
3837
SEGMENT_ANALYTICS_KEY: webpackConfigEnv.SEGMENT_ANALYTICS_KEY,
3938
orgName,
4039
},
40+
filename: "[name].html",
4141
}),
4242
new CopyWebpackPlugin({
4343
patterns: [

0 commit comments

Comments
 (0)