plugin-seed
plugin-seed copied to clipboard
Cannot add js package dependency to plugin.
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.
I think we have to install the plugin in the root of the project