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

Commit

Permalink
feat: add publish-ios-bundle npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
sis0k0 committed May 31, 2017
1 parent cd7ea25 commit c424a8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 0 additions & 4 deletions installer.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ function uninstall() {
helpers.writePackageJson(packageJson, PROJECT_DIR);
}

function showHelperMessages() {

}

module.exports = {
install,
uninstall,
Expand Down
1 change: 1 addition & 0 deletions npmScriptsManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const SCRIPT_TEMPLATES = Object.freeze({
"ns-bundle": "ns-bundle",
"start-[PLATFORM]-bundle": "npm run ns-bundle --[PLATFORM] --start-app",
"build-[PLATFORM]-bundle": "npm run ns-bundle --[PLATFORM] --build-app",
"publish-ios-bundle": "npm run ns-bundle --ios --publish-app",
});

const DEPRECATED_SCRIPT_TEMPLATES = Object.freeze([
Expand Down
3 changes: 2 additions & 1 deletion templates/webpack.angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,13 @@ function getPlugins(platform, env) {
typeChecking: false
}),

// // Resolve .ios.css and .android.css component stylesheets, and .ios.html and .android component views
// Resolve .ios.css and .android.css component stylesheets, and .ios.html and .android component views
new nsWebpack.UrlResolvePlugin({
platform: platform,
resolveStylesUrls: true,
resolveTemplateUrl: true
}),

];

if (env.uglify) {
Expand Down

0 comments on commit c424a8a

Please sign in to comment.