Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Cannot add js package dependency to plugin. #29

Open
@cjohn001

Description

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

        AltStyle によって変換されたページ (->オリジナル) /