Skip to content

Commit 925391b

Browse files
committed
change build script
1 parent 16c7df8 commit 925391b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

gruntfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@
6767
},
6868
"ci-webpack-demo": {
6969
cmd: function (platform, demoSuffix) {
70-
return "cd demo" + (demoSuffix != "" ? "-" + demoSuffix : "")+ " && npm install && npm run ns-bundle --" + platform + " --build-app --uglify --snapshot";
70+
return "cd demo" + (demoSuffix != "" ? "-" + demoSuffix : "") + " && npm install && tns build " + platform
71+
+ " --env.uglify --env.snapshot"
72+
+ (demoSuffix === "ng" ? " --env.aot" : "");
7173
}
7274
},
7375
npm_publish: {

0 commit comments

Comments
 (0)