Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit c424a8a

Browse files
committed
feat: add publish-ios-bundle npm script
1 parent cd7ea25 commit c424a8a

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Diff for: installer.js

-4
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ function uninstall() {
4141
helpers.writePackageJson(packageJson, PROJECT_DIR);
4242
}
4343

44-
function showHelperMessages() {
45-
46-
}
47-
4844
module.exports = {
4945
install,
5046
uninstall,

Diff for: npmScriptsManager.js

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ const SCRIPT_TEMPLATES = Object.freeze({
22
"ns-bundle": "ns-bundle",
33
"start-[PLATFORM]-bundle": "npm run ns-bundle --[PLATFORM] --start-app",
44
"build-[PLATFORM]-bundle": "npm run ns-bundle --[PLATFORM] --build-app",
5+
"publish-ios-bundle": "npm run ns-bundle --ios --publish-app",
56
});
67

78
const DEPRECATED_SCRIPT_TEMPLATES = Object.freeze([

Diff for: templates/webpack.angular.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,13 @@ function getPlugins(platform, env) {
160160
typeChecking: false
161161
}),
162162

163-
// // Resolve .ios.css and .android.css component stylesheets, and .ios.html and .android component views
163+
// Resolve .ios.css and .android.css component stylesheets, and .ios.html and .android component views
164164
new nsWebpack.UrlResolvePlugin({
165165
platform: platform,
166166
resolveStylesUrls: true,
167167
resolveTemplateUrl: true
168168
}),
169+
169170
];
170171

171172
if (env.uglify) {

0 commit comments

Comments
 (0)