gasup 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/bundle.js +8 -0
  2. package/package.json +2 -2
package/dist/bundle.js CHANGED
@@ -11,4 +11,12 @@ export async function bundle(config) {
11
11
  plugins: [GasPlugin],
12
12
  });
13
13
  fs.copyFileSync(appsScriptJsonPath, path.join(distDir, 'appsscript.json'));
14
+ // HTMLファイルをdistディレクトリにコピー
15
+ for (const bundleEntry of bundleEntries) {
16
+ const entryDir = path.dirname(bundleEntry);
17
+ const htmlFiles = fs.readdirSync(entryDir).filter(file => file.endsWith('.html'));
18
+ for (const htmlFile of htmlFiles) {
19
+ fs.copyFileSync(path.join(entryDir, htmlFile), path.join(distDir, htmlFile));
20
+ }
21
+ }
14
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gasup",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,7 +24,7 @@
24
24
  "dependencies": {
25
25
  "commander": "^13.0.0",
26
26
  "dotenv": "^16.4.7",
27
- "esbuild": "^0.24.2",
27
+ "esbuild": ">=0.25.0",
28
28
  "esbuild-gas-plugin": "^0.8.0",
29
29
  "fs-extra": "^11.3.0",
30
30
  "remeda": "^2.19.2",