Barebones Rollup template for building React + Typescript ES Modules.
To develop React Typescript components that are bundled as ES Modules.
This repository is a GitHub template. Click on "Use this template" above to the right to create a new repository with the same directory structure and files.
Or you can clone it locally by using the following command
git clone https://github.com/a11y-gigachad-org/gigachad-react-rollup-starter.git my-app
npm run build
bundles files into dist/index.js
and types into dist/types/index.d.js
.
npm start
builds and watches the files during development.
npm link
in the module directory and then npm link <package.name>
in any Create React App or Next.JS repository to develop your components for the browser.
npm test
runs Jest with React Testing Library
For any ideas or questions, head over to the disscussions to share them there.
For any bugs, missing documentation, or unexpected behavior head over to the issues to file them there.