Spaces:
Running
Running
Update generate_html.js
Browse files- generate_html.js +3 -1
generate_html.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 1 |
// generate_html.js
|
| 2 |
-
import
|
|
|
|
|
|
|
| 3 |
import fs from "fs";
|
| 4 |
|
| 5 |
const projectId = process.argv[2];
|
|
|
|
| 1 |
// generate_html.js
|
| 2 |
+
import pkg from "@turbowarp/packager";
|
| 3 |
+
const { packProject } = pkg; // CommonJSのnamed exportを取得
|
| 4 |
+
|
| 5 |
import fs from "fs";
|
| 6 |
|
| 7 |
const projectId = process.argv[2];
|