Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about compability #1

Closed
napcat opened this issue Jan 19, 2015 · 1 comment
Closed

Questions about compability #1

napcat opened this issue Jan 19, 2015 · 1 comment

Comments

@napcat
Copy link

napcat commented Jan 19, 2015

Well, I found this problem under windows when I was trying to check my project to TFS.

I was bumping my head to find a solution. I tried this and it just works!!
Thank you so much.

Some questions:
If I install another module after I run flatten-deps, can I run it again to flatten the new module?
Does this work with in all situations, or could it break my project?

@LeZuse
Copy link
Owner

LeZuse commented Jan 22, 2015

Hi napcat, I am glad you found it useful. When you install a new module after running the script, npm will probably install some modules for the second time (not sure about that). But when you run the script again, it should just optimize the newly installed module.

The script is not heavy tested and there is a lot of space to improve it. For example we use it in our building envinronment, but I would not run it on a client machine yet.

@LeZuse LeZuse closed this as completed Jan 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants