Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tohsaka888/react-swc-module-template
help you build a react module with swc and webpack.
https://github.com/tohsaka888/react-swc-module-template
react swc
Last synced: 9 days ago
JSON representation
help you build a react module with swc and webpack.
- Host: GitHub
- URL: https://github.com/tohsaka888/react-swc-module-template
- Owner: tohsaka888
- Created: 2023-01-23T05:55:58.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-14T01:50:34.000Z (7 months ago)
- Last Synced: 2024-04-14T04:20:53.323Z (7 months ago)
- Topics: react, swc
- Language: JavaScript
- Homepage:
- Size: 563 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-swc-module-template
[![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square)](https://github.com/tohsaka888/create-react-swc-app/blob/master/LICENSE)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)## introduction
help you build a `react` module with `swc` and `webpack`.
## Output
build a `cjs` module:
```bash
pnpm build:commonjs
```build a `esm` module:
```bash
pnpm build:esmodule
```build a `amd` module:
```bash
pnpm build:amd
```build a `umd` module:
```bash
pnpm build:umd
```