-
Notifications
You must be signed in to change notification settings - Fork 20
When creating a new plugin, #57
Comments
Yep. An unfortunate side effect of nested |
I'm having this issue currently, but I'm new to reaction. @jshimko Can you please guide me on how to go about creating aliases in the plugin's package.json like the one in root |
the generated package.json does not define our common @reactioncommerce aliases.
This makes it impossible to write:
import { registerComponent, getHOCs, getRawComponent } from "@reactioncommerce/reaction-components";
Reproduce:
reaction plugins create --name my-plugin
imports/plugins/custom/my-plugin/client/index.js
modules-runtime.js:261 Uncaught Error: Cannot find module '@reactioncommerce/reaction-components'
The text was updated successfully, but these errors were encountered: