You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Why karma-phantomjs-launcher is in the "dependencies" ? #258
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".
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.
Activity
aendra-rininsland commentedon Nov 18, 2015
Yikes, really? When'd that happen? Will push a fix to that momentarily, thanks for letting us know!
phodal commentedon Nov 18, 2015
@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,phantomjswas depended bykarma-phantomjs-launcher, those packages will also be package to application. the size ofkarmaalmost 30M, andphantomjswill be 15M.aendra-rininsland commentedon Nov 18, 2015
@phodal Yep, is definitely a problem. Would also be problematic for Browserify and Webpack users.