upgrade packages and such

This commit is contained in:
2025-05-25 13:05:58 -07:00
parent a6d9abd0e1
commit e42dc4ada6
6 changed files with 586 additions and 820 deletions

View File

@@ -7,16 +7,15 @@ module.exports = (env) => {
entry: "./src/index.tsx",
output: {
filename: "bundle.js",
path: path.join(__dirname, "dist")
path: path.join(__dirname, "dist"),
clean: true,
},
mode: mode,
target: "web",
// Enable sourcemaps for debugging webpack's output.
devtool: "source-map",
performance: {
hints: false
},
devServer: {
static: {
@@ -37,5 +36,9 @@ module.exports = (env) => {
{ enforce: "pre", test: /\.js$/, loader: "source-map-loader" }
]
},
experiments: {
topLevelAwait: true
}
}
};