Skip to content

Commit ce8ecc1

Browse files
committed
build(webpack): adjust the build directory
1 parent 668a147 commit ce8ecc1

7 files changed

+11
-1639
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
.idea
2+
.vscode
23
node_modules
4+
build
35
temp.json

0.bootstrap.js

-1,259
This file was deleted.

1.bootstrap.js

-27
This file was deleted.

2eec0cfc037918a621c3.module.wasm

-392 KB
Binary file not shown.

bootstrap.js

-267
This file was deleted.

index.html

-77
This file was deleted.

webpack.config.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ const CopyWebpackPlugin = require("copy-webpack-plugin");
22
const path = require('path');
33

44
module.exports = {
5-
entry: "./src/bootstrap.js",
6-
output: {
7-
path: path.resolve(__dirname, ""),
8-
filename: "bootstrap.js",
9-
},
10-
mode: "development",
11-
plugins: [
12-
new CopyWebpackPlugin(['./src/index.html'])
13-
],
5+
entry: "./src/bootstrap.js",
6+
output: {
7+
path: path.resolve(__dirname, "./build"),
8+
filename: "bootstrap.js",
9+
},
10+
mode: "development",
11+
plugins: [
12+
new CopyWebpackPlugin(['./src/index.html'])
13+
],
1414
};

0 commit comments

Comments
 (0)