abernix / meteord

MeteorD - Docker Runtime for Meteor Apps for Production Deployments
https://registry.hub.docker.com/u/meteorhacks/meteord/
MIT License
93 stars 129 forks source link

Build debug bundle using --debug #29

Open lauff opened 6 years ago

lauff commented 6 years ago

Hi & Happy New Year!

Is it possible to build a bundle with the --debug parameter?

Thanks Markus

abernix commented 6 years ago

The --debug flag is only relevant during development with the meteor command. The built bundle (for production, which is a Node.js app, and no longer aware of the meteor command), doesn't support --debug.

abernix commented 6 years ago

Sorry, I may have closed this prematurely, and it seems that --debug on meteor build probably does something different than what I was thinking you were trying to do.

Are you trying to skip the minifying step by using the --debug flag?

lauff commented 6 years ago

yes, I use the flag to skip the minifying, but also to load dev dependencies (e.g. Meteor Toys).