diff --git a/build.err b/build.err new file mode 100644 index 0000000..e69de29 diff --git a/build.js b/build.js index 2e1ee8c..9c2c57d 100644 --- a/build.js +++ b/build.js @@ -8,7 +8,7 @@ const fs = require('fs'); const path = require('path'); const SRC = path.join(__dirname, 'src'); -const ENTRY = 'main.js'; +const ENTRY = process.argv[2] || 'main.js'; const visited = new Set(); const chunks = []; diff --git a/index.html b/index.html index e5beac8..6336513 100644 --- a/index.html +++ b/index.html @@ -115,5 +115,40 @@ + + +