Merge branch 'main' into avm99963-monorail
Merged commit 4137ed7879acadbf891e8c471108acb874dae886.
GitOrigin-RevId: b6100ffc5b1da355a35f37b13fcaaf746ee8b307
diff --git a/webpack.config.js b/webpack.config.js
index a24aec6..12b44a0 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -9,7 +9,6 @@
const BundleAnalyzerPlugin =
require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const HtmlWebpackPlugin = require('html-webpack-plugin');
-const ScriptExtHtmlWebpackPlugin = require('script-ext-html-webpack-plugin');
const CircularDependencyPlugin = require('circular-dependency-plugin');
const config = {
@@ -33,38 +32,28 @@
}),
new HtmlWebpackPlugin({
chunks: ['mr-app'],
+ inject: false,
template: 'static_src/webpacked-scripts-template.html',
filename: '../../templates/webpack-out/mr-app.ezt',
}),
new HtmlWebpackPlugin({
chunks: ['mr-profile-page'],
+ inject: false,
template: 'static_src/webpacked-scripts-template.html',
filename: '../../templates/webpack-out/mr-profile-page.ezt',
}),
new HtmlWebpackPlugin({
chunks: ['ezt-element-package'],
+ inject: false,
template: 'static_src/webpacked-scripts-template.html',
filename: '../../templates/webpack-out/ezt-element-package.ezt',
}),
new HtmlWebpackPlugin({
chunks: ['ezt-footer-scripts-package'],
+ inject: false,
template: 'static_src/webpacked-scripts-template.html',
filename: '../../templates/webpack-out/ezt-footer-scripts-package.ezt',
}),
- new ScriptExtHtmlWebpackPlugin({
- custom: [
- {
- test: /\.js$/,
- attribute: 'nonce',
- value: '[nonce]',
- },
- {
- test: /\.js$/,
- attribute: 'type',
- value: 'module',
- },
- ],
- }),
],
module: {
rules: [