mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-03 07:28:11 +08:00
chore(webpack): remove script-ext-html-webpack-plugin (#2534)
Co-authored-by: Seve Badajoz <severiano.badajoz@chanzuckerberg.com>
This commit is contained in:
co-authored by
Seve Badajoz
parent
8b4c1e418e
commit
d753441acc
@@ -1,7 +1,6 @@
|
|||||||
const path = require("path");
|
const path = require("path");
|
||||||
const webpack = require("webpack");
|
const webpack = require("webpack");
|
||||||
const HtmlWebpackPlugin = require("html-webpack-plugin");
|
const HtmlWebpackPlugin = require("html-webpack-plugin");
|
||||||
const ScriptExtHtmlWebpackPlugin = require("script-ext-html-webpack-plugin");
|
|
||||||
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
||||||
|
|
||||||
const { merge } = require("webpack-merge");
|
const { merge } = require("webpack-merge");
|
||||||
@@ -57,9 +56,6 @@ const devConfig = {
|
|||||||
CXG_SERVER_PORT: process.env.CXG_SERVER_PORT || "5005",
|
CXG_SERVER_PORT: process.env.CXG_SERVER_PORT || "5005",
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
new ScriptExtHtmlWebpackPlugin({
|
|
||||||
async: "obsolete",
|
|
||||||
}),
|
|
||||||
],
|
],
|
||||||
infrastructureLogging: {
|
infrastructureLogging: {
|
||||||
level: "warn",
|
level: "warn",
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ const path = require("path");
|
|||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
||||||
const ObsoleteWebpackPlugin = require("obsolete-webpack-plugin");
|
const ObsoleteWebpackPlugin = require("obsolete-webpack-plugin");
|
||||||
// eslint-disable-next-line @blueprintjs/classes-constants -- incorrect match
|
|
||||||
const ScriptExtHtmlWebpackPlugin = require("script-ext-html-webpack-plugin");
|
|
||||||
|
|
||||||
const src = path.resolve("src");
|
const src = path.resolve("src");
|
||||||
const nodeModules = path.resolve("node_modules");
|
const nodeModules = path.resolve("node_modules");
|
||||||
@@ -67,8 +65,5 @@ module.exports = {
|
|||||||
template: obsoleteHTMLTemplate,
|
template: obsoleteHTMLTemplate,
|
||||||
promptOnNonTargetBrowser: false,
|
promptOnNonTargetBrowser: false,
|
||||||
}),
|
}),
|
||||||
new ScriptExtHtmlWebpackPlugin({
|
|
||||||
async: "obsolete",
|
|
||||||
}),
|
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
Generated
+5103
-5282
File diff suppressed because it is too large
Load Diff
@@ -136,7 +136,6 @@
|
|||||||
"prettier": "^2.0.5",
|
"prettier": "^2.0.5",
|
||||||
"puppeteer": "^8.0.0",
|
"puppeteer": "^8.0.0",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"script-ext-html-webpack-plugin": "^2.1.4",
|
|
||||||
"serve-favicon": "^2.5.0",
|
"serve-favicon": "^2.5.0",
|
||||||
"terser-webpack-plugin": "^5.1.1",
|
"terser-webpack-plugin": "^5.1.1",
|
||||||
"webpack": "^5.34.0",
|
"webpack": "^5.34.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user