Skip to content

Why karma-phantomjs-launcher is in the "dependencies" ? #258

Closed

Description

@phodal

Currently, I work on a side project with Atom Electron, and I use this libs to access GitHub API.

But when I package the application, I found the size added more than 40M. Finally, and I found the karma-phantomjs-launcher is the reason, I think it should be in "devDependencies".

Activity

  1. aendra-rininsland commented on Nov 18, 2015

    @aendra-rininsland
    Member

    Yikes, really? When'd that happen? Will push a fix to that momentarily, thanks for letting us know!

  2. modified the milestones: , v0.10.7 on Nov 18, 2015
  3. phodal commented on Nov 18, 2015

    @phodal
    Author

    @Aendrew Thanks for your quick fix.

    When use the Electron to package the application, it will also package the node_modules. In the prev verison, the libs karma, phantomjs was depended by karma-phantomjs-launcher, those packages will also be package to application. the size of karma almost 30M, and phantomjs will be 15M.

  4. aendra-rininsland commented on Nov 18, 2015

    @aendra-rininsland
    Member

    @phodal Yep, is definitely a problem. Would also be problematic for Browserify and Webpack users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions