Skip to content

bundledDependencies #14

Open
Open
@timoxley

Description

@timoxley

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions