Closed imballinst closed 6 years ago
Fixed issue #13 from @NormanDenayer
How I fixed it:
"build:lib": "cd src && babel . --out-dir ../lib --ignore test.js"
npm run build
lib
src
To try it:
react-bs-datatable
npm install https://github.com/Imballinst/react-bs-datatable#fix/jsx-in-lib --save
react-bs-datatable/src
react-bs-datatable/lib
Tried it on CRA and non-CRA app (both works). Please don't hesitate if you are still experiencing the bug.
Fixed issue #13 from @NormanDenayer
How I fixed it:
"build:lib": "cd src && babel . --out-dir ../lib --ignore test.js"
npm run build
lib
folder (notsrc
)To try it:
react-bs-datatable
but from my branch:npm install https://github.com/Imballinst/react-bs-datatable#fix/jsx-in-lib --save
react-bs-datatable/src
toreact-bs-datatable/lib
Tried it on CRA and non-CRA app (both works). Please don't hesitate if you are still experiencing the bug.