Skip to content

Commit

Permalink
fix: build for angular apps using ionic:build
Browse files Browse the repository at this point in the history
  • Loading branch information
dtarnawsky committed Oct 22, 2024
1 parent 543264e commit 47f3339
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ionic",
"displayName": "Ionic",
"description": "Official extension for Ionic and Capacitor development",
"version": "1.96.0",
"version": "1.96.1",
"icon": "media/ionic.png",
"publisher": "Ionic",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/ionic-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function build(
): string {
let cmd = `${npx(project)} ${buildCmd(project)}`;
if (configurationArg) {
if (cmd.includes('npm run ')) {
if (cmd.includes('npm run ionic:build')) {
// This adds -- if the command is npm run build but does not if it is something like ng build
cmd += ' -- --';
} else if (cmd.includes('run ')) {
Expand Down

0 comments on commit 47f3339

Please sign in to comment.