Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

Command Line Flag to start with mainModule #302

Closed
merlinstardust opened this issue Jun 6, 2018 · 2 comments
Closed

Command Line Flag to start with mainModule #302

merlinstardust opened this issue Jun 6, 2018 · 2 comments

Comments

@merlinstardust
Copy link

Now that #135 has been implemented with meteor.mainModule in package.json, it would be great to have a command line flag (--with-main-module) to be used when creating a Meteor project. This would allow you to easily get started with a project that doesn't have eagerly loaded files.

@benjamn
Copy link
Contributor

benjamn commented Jun 13, 2018

Are you trying to create a Meteor project from an existing Node project directory? The default meteor create and meteor create --minimal apps come with meteor.mainModule and meteor.testModule out of the box, now.

@merlinstardust
Copy link
Author

Ah, I think I ran create after 1.7 was released but before I had upgraded my Meteor version. I'll close this since it's already in there

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants