Skip to content

Commit

Permalink
コマンドを修正、未使用のパッケージを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
ienaga committed Nov 11, 2023
1 parent b6ccb2e commit 0f7abf3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next2d/builder",
"version": "0.0.6",
"version": "0.0.7",
"description": "Multi-platform builder for Next2d Framework, supporting export to various platforms such as macOS, Windows, iOS, Android and Web(HTML)",
"author": "Toshiyuki Ienaga <ienaga@next2d.app>",
"license": "MIT",
Expand Down Expand Up @@ -34,7 +34,6 @@
"@next2d/builder": "dist/index.js"
},
"dependencies": {
"@capacitor/cli": "^5.5.1",
"@types/node": "^20.9.0",
"electron": "^27.0.4",
"electron-builder": "^24.6.4",
Expand Down
5 changes: 2 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,8 @@ const buildWeb = (): Promise<void> =>
{
return new Promise((resolve, reject): void =>
{
const command: string = `${process.cwd()}/node_modules/.bin/vite`;

const stream = cp.spawn(command, [
const stream = cp.spawn("npx", [
"vite",
"--outDir",
$buildDir,
"build"
Expand Down

0 comments on commit 0f7abf3

Please sign in to comment.