cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-13303) cordova fetch should use --production flag by default
Date Tue, 03 Oct 2017 21:35:00 GMT

    [ https://issues.apache.org/jira/browse/CB-13303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16190384#comment-16190384
] 

ASF GitHub Bot commented on CB-13303:
-------------------------------------

Github user stevengill commented on a diff in the pull request:

    https://github.com/apache/cordova-cli/pull/287#discussion_r142530184
  
    --- Diff: src/cli.js ---
    @@ -475,8 +491,11 @@ function cli (inputArgs) {
                 link: args.link || false,
                 save: args.save,
                 shrinkwrap: args.shrinkwrap || false,
    -            force: args.force || false
    +            force: args.force || false,
    +            production: args.production,
    +            noprod: args.noprod || false
    --- End diff --
    
    no need to pass noprod, it is only used to figure out production. Which you do on L454


> cordova fetch should use --production flag by default 
> ------------------------------------------------------
>
>                 Key: CB-13303
>                 URL: https://issues.apache.org/jira/browse/CB-13303
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: cordova-fetch
>            Reporter: Steve Gill
>            Assignee: Audrey So
>              Labels: backlog, tools-next
>
> This should speed up cordova-fetch. When installing platforms and plugins, run npm install
--production under the hood so we don't fetch dev dependencies. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message