-
Notifications
You must be signed in to change notification settings - Fork 93
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
jitsu package create packs nested node_modules #454
Comments
I tried with |
@assembler only Also, the following worked for me:
As you can see, neither of |
I found that the problem is that under frontend i have also the "package.json" file which describes the frontend application. If i remove that file, all works fine, but can't get it to work with it. The use case is as follows: A) i have main nodejs application which serves two purposes:
B) I have nested frontend application which is done in angularjs. Grunt is used for building into frontend/dist folder, and build dependencies are listed in frontend/package.json file. It also uses bower for managing frontend dependencies. I want to create optimal jitsu package (without frontend/node_modules which is huge), push it to nodejitsu and then compile the frontend there. |
When I try this:
It packs "/frontend/node_modules" folder even though it is excluded within
.gitignore
. This makes deploys rather large.. How can i fix this?The text was updated successfully, but these errors were encountered: