Get rid of the superfluous bootstrap file as it appears to be causing Webpack problems
This commit is contained in:
parent
1ff86012ae
commit
287870ec03
|
@ -13,7 +13,7 @@ module.exports = (env, argv) => {
|
||||||
console.log(`Building ${mode}...`);
|
console.log(`Building ${mode}...`);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
entry: path.resolve(__dirname, "www/bootstrap.js"),
|
entry: path.resolve(__dirname, "www/index.js"),
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, "dist"),
|
path: path.resolve(__dirname, "dist"),
|
||||||
filename: "index.js",
|
filename: "index.js",
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
// A dependency graph that contains any wasm must all be imported
|
|
||||||
// asynchronously. This `bootstrap.js` file does the single async import, so
|
|
||||||
// that no one else needs to worry about it again.
|
|
||||||
import("./index.js")
|
|
||||||
.catch(e => console.error("Error importing `index.js`:", e));
|
|
Loading…
Reference in New Issue