-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Labels
Impact:someMeteor 3relates to Meteor 3relates to Meteor 3Severity:productionType:BugconfirmedWe want to fix or implement itWe want to fix or implement itin-developmentWe are already working on itWe are already working on it
Milestone
Description
I have some problems with npm packages in my bundles.
- I create a new meteor project, add a npm package (lodash for example) and use it in the client-only-side (
client/folder for example). Then I runmeteor build. Wait (soooo many time). Open final archive and see/bundle/programs/server/npm/node_modules/. Among other things I seelodashfolder. In the server area (!). What for? - I create a new meteor project, add a native (atmosphere) package (reywood:publish-composite for example). Then I run
meteor build. Wait. Open final archive and see/bundle/programs/server/npm/node_modules/meteor/reywood_publish-composite/node_modules/. I seeeslintfolders. What for? Ok. Go to publish-composite github repository. Open thepackage.json. All eslint packages indevDependenciesarea. Why they in the production bundle?
All of this points make my bundles sooo big. And it's very bad, I think.
Examples at my github repo: https://github.com/JWo1F/meteor-npm-bugs
Meteor version: 1.6.1.
Operating System: Fedora 21.
StorytellerCZ, filipenevola, hhravn, evolross and afrokick
Metadata
Metadata
Assignees
Labels
Impact:someMeteor 3relates to Meteor 3relates to Meteor 3Severity:productionType:BugconfirmedWe want to fix or implement itWe want to fix or implement itin-developmentWe are already working on itWe are already working on it