@petar.nenov/react-parcel
v0.0.26
Published
React library with Parcel bundler
Downloads
12
Readme
Want to create React library with Typescript, SASS and Parcel
Add to .env
SASS_PATH="./src/assets/styles"
Add custom components in src/components
Check custom components with parcel
npm run watch
open Chrome on port 1234 or another browser
Build and export 'componenrs' folder
npm run build
npm version patch
npm publish --access=public
Add to React project
npm i -S @petar.nenov/react-parcel
then import it:
import {Button} from "@petar.nenov/react-parcel"
...
<Button>Click Me</Button>
...
Happy coding ...