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

bundledDependencies #14

Open
timoxley opened this issue Jun 27, 2014 · 2 comments
Open

bundledDependencies #14

timoxley opened this issue Jun 27, 2014 · 2 comments

Comments

@timoxley
Copy link
Member

I think I have the ultimate solution: augment bundledDeps syntax with relative paths:

{
  "bundledDependencies": [
    "./lib/thing",
    "./util/tool"
  ],
  "preinstall": "copy/symlink bundled dependencies to node_modules"
}

and if you want a namespace you just do like

{ 
  "bundledDependencies": [
    "./@namespace"
  ]
}

and @namespace folder will contain all the packages.

Still need a recursive npm install though, maybe that's a separate tool.

@timoxley
Copy link
Member Author

cc @hughsk

@hughsk
Copy link
Member

hughsk commented Jun 27, 2014

This would be really nice – I'll have to have a look into it and see how it works :)

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