Skip to content

Commit 103a853

Browse files
committed
remove some more uneeded things
1 parent 7035be6 commit 103a853

4 files changed

Lines changed: 4 additions & 97 deletions

File tree

www/bootstrap.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
// A dependency graph that contains any wasm must all be imported
2-
// asynchronously. This `bootstrap.js` file does the single async import, so
3-
// that no one else needs to worry about it again.
41
import("./index.js")
5-
.catch(e => console.error("Error importing `index.js`:", e));
2+
.catch(e => console.error("Error importing `index.js`:", e));

www/package-lock.json

Lines changed: 0 additions & 83 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

www/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"devDependencies": {
2727
"webpack": "^5.99.9",
2828
"webpack-cli": "^6.0.1",
29-
"webpack-dev-server": "^5.2.2",
30-
"copy-webpack-plugin": "^13.0.0"
29+
"webpack-dev-server": "^5.2.2"
3130
}
3231
}

www/webpack.config.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,22 @@
11
const path = require("path");
2-
const CopyPlugin = require("copy-webpack-plugin");
32

43
module.exports = {
54
mode: "production",
65
entry: "./bootstrap.js",
76
output: {
8-
path: path.resolve(__dirname, "dist"),
7+
path: path.resolve(__dirname),
98
filename: "bundle.js",
109
},
1110
experiments: {
1211
asyncWebAssembly: true,
1312
},
1413
plugins: [
15-
new CopyPlugin({
16-
patterns: [
17-
{ from: "index.html", to: "." },
18-
],
19-
}),
2014
],
2115
devServer: {
2216
static: {
2317
directory: __dirname,
2418
},
2519
compress: true,
2620
port: 8080,
27-
},
21+
},
2822
};

0 commit comments

Comments
 (0)