react-component-library
react-component-library copied to clipboard
Config for jsx
Hi Harvey,
I'm trying to follow your instructions but for .jsx files. When I run npm run build I get the following error
src/index.js → build/index.js, build/index.es.js...
[!] Error: Could not resolve './TestComponent/TestComponent' from src\index.js
Do you have any ideas?
Did you add it to src/index.ts?
e.g.
import { TestComponent } from './TestComponent/TestComponent';
export { TestComponent };