Skip to content

Cannot add js package dependency to plugin. #29

Description

@cjohn001

Hello,
I have created a plugin and tried to add a dependency to it. I tried it by going to

packages/pluginname/package.json and adding

"dependencies": {
"package": "^version"
}

However, the package is not installed into node_modules. I also tried npm i from the plugin folder. This creates a node_modules folder with the package. However, when trying to build a demo than it seems like node_modules in the plugin folder is not used and build fails. Would be great if you could add an explanation on how I can install additional npm packages to a plugin, in case this is not a bug.

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