We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1516dc commit b8d6066Copy full SHA for b8d6066
webpack.config.mjs
@@ -2,23 +2,23 @@ import CopyPlugin from "copy-webpack-plugin"
2
import HtmlPlugin from "html-webpack-plugin"
3
4
export default {
5
- devtool: false,
6
- plugins: [
7
- new CopyPlugin({
8
- patterns: ["manifest.json"],
9
- }),
10
- new HtmlPlugin(),
11
- ],
12
module: {
13
rules: [
14
{
15
- exclude: /node_modules/,
16
test: /\.(j|t)s$/,
+ exclude: /node_modules/,
17
loader: "babel-loader",
18
},
19
],
20
21
resolve: {
22
extensions: [".js", ".ts"],
23
+ devtool: false,
+ plugins: [
+ new CopyPlugin({
+ patterns: ["manifest.json"],
+ }),
+ new HtmlPlugin(),
+ ],
24
}
0 commit comments