Skip to content

Commit 0f034c9

Browse files
authored
1.90 (#165)
* feat: The ionic:build or build command in package.json will now override the default build command * chore: bump version
1 parent a3be775 commit 0f034c9

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Changelog
22

3+
### Version 1.90.0
4+
5+
- The ionic:build or build command in package.json will now override the default build command
6+
37
### Version 1.89.0
48

59
- Replace Ionic start with npm create ionic

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "ionic",
33
"displayName": "Ionic",
44
"description": "Official extension for Ionic and Capacitor development",
5-
"version": "1.89.0",
5+
"version": "1.90.0",
66
"icon": "media/ionic.png",
77
"publisher": "Ionic",
88
"keywords": [

src/ionic-build.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ function buildCmd(project: Project): string {
8585
switch (project.frameworkType) {
8686
case 'angular':
8787
case 'angular-standalone':
88-
return 'ng build';
88+
return guessBuildCommand(project) ?? 'ng build';
8989
case 'vue-vite':
9090
case 'react-vite':
91-
return `vite build`;
91+
return guessBuildCommand(project) ?? 'vite build';
9292
case 'react':
9393
return 'react-scripts build';
9494
case 'vue':

0 commit comments

Comments
 (0)