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

Commit 4409960

Browse files
authored
Merge pull request #97 from topcoder-platform/CORE-419-security-fix
CORE-419 drop html-webpack-plugin
2 parents 11582c5 + f228376 commit 4409960

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"eslint-config-important-stuff": "^1.1.0",
2828
"eslint-config-prettier": "^9.1.0",
2929
"eslint-plugin-prettier": "^5.1.3",
30-
"html-webpack-plugin": "^5.6.0",
3130
"jest": "^29.7.0",
3231
"jest-cli": "^29.7.0",
3332
"node-html-parser": "^6.1.13",
@@ -43,8 +42,8 @@
4342
},
4443
"dependencies": {
4544
"express": "^4.19.2",
45+
"nodemon": "^3.1.0",
4646
"single-spa": "^6.0.1",
47-
"single-spa-layout": "2.2.0",
48-
"nodemon": "^3.1.0"
47+
"single-spa-layout": "2.2.0"
4948
}
5049
}

webpack.config.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/* global process */
22
const singleSpaDefaults = require("webpack-config-single-spa");
3-
const HtmlWebpackPlugin = require("html-webpack-plugin");
43
const CopyWebpackPlugin = require("copy-webpack-plugin");
54
const { merge } = require("webpack-merge");
65

@@ -29,16 +28,6 @@ module.exports = (webpackConfigEnv) => {
2928
index: "",
3029
},
3130
plugins: [
32-
new HtmlWebpackPlugin({
33-
inject: false,
34-
template: "src/index.ejs",
35-
templateParameters: {
36-
APPENV: webpackConfigEnv.APPENV,
37-
SEGMENT_ANALYTICS_KEY: webpackConfigEnv.SEGMENT_ANALYTICS_KEY,
38-
orgName,
39-
},
40-
filename: "[name].html",
41-
}),
4231
new CopyWebpackPlugin({
4332
patterns: [
4433
{

0 commit comments

Comments
 (0)