diff --git a/webpack.config.js b/webpack.config.js index 43fce19cf..74fef52bf 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -137,14 +137,10 @@ module.exports = { template: "src/web-component.html", filename: "web-component.html", }), - new HtmlWebpackPlugin({ - inject: "body", - template: "src/scratch-component.html", - filename: "scratch-component.html", - }), new CopyWebpackPlugin({ patterns: [ { from: "public", to: "" }, + { from: "src/scratch-component.html", to: "scratch-component.html" }, { from: "scratch/dist/main.js", to: "scratch.js" }, // { from: "scratch/node_modules/scratch-gui/dist/static/blocks-media/default/*.svg", to: "static/blocks-media/default/[name][ext]" }, // { from: "scratch/node_modules/scratch-gui/dist/static/blocks-media/high-contrast/*.svg", to: "static/blocks-media/high-contrast/[name][ext]" },