Skip to content

Commit b8d6066

Browse files
committed
Reorder webpack config based on docs
1 parent c1516dc commit b8d6066

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

webpack.config.mjs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@ import CopyPlugin from "copy-webpack-plugin"
22
import HtmlPlugin from "html-webpack-plugin"
33

44
export default {
5-
devtool: false,
6-
plugins: [
7-
new CopyPlugin({
8-
patterns: ["manifest.json"],
9-
}),
10-
new HtmlPlugin(),
11-
],
125
module: {
136
rules: [
147
{
15-
exclude: /node_modules/,
168
test: /\.(j|t)s$/,
9+
exclude: /node_modules/,
1710
loader: "babel-loader",
1811
},
1912
],
2013
},
2114
resolve: {
2215
extensions: [".js", ".ts"],
2316
},
17+
devtool: false,
18+
plugins: [
19+
new CopyPlugin({
20+
patterns: ["manifest.json"],
21+
}),
22+
new HtmlPlugin(),
23+
],
2424
}

0 commit comments

Comments
 (0)