-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I've tried to use the plugin in a project created with the following command:
yarn create react-app my-app --template typescript
After running yarn start, webpack dev server fails building the project throwing an error:
Module not found: Error: Can't resolve './WiredButton' in '/Users/myuser/Documents/my-app/node_modules/wired-elements-react/lib'
Did you mean 'WiredButton.js'?
BREAKING CHANGE: The request './WiredButton' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
TylerSustare
Metadata
Metadata
Assignees
Labels
No labels