You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.
{"presets": ["es2015","react"],"env": {"development": {"plugins": [// must be an array with options object as second item["react-transform",{// must be an array of objects"transforms": [{// can be an NPM module name or a local path"transform": "./babel-plugins/react-transform-my","imports": ["react"],"locals": ["module"]}]// by default we only look for `React.createClass` (and ES6 classes)// but you can tell the plugin to look for different component factories:// factoryMethods: ["React.createClass", "createClass"]}]]}}}
I have a .babelrc:
And in the same directory
When running the server I'm getting
Module not found: Error: Cannot resolve 'file' or 'directory' ./babel-plugins/react-transform-my
If I provide the full path to the directory it is resolved correctly.
The text was updated successfully, but these errors were encountered: