Skip to content

Flashrob/cra-swc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  1. git clone https://github.com/Flashrob/cra-swc.git
  2. npm install or yarn install

Available Scripts

In the project directory, you can run:

  • npm run start or yarn start to run dev app.
  • npm run build or yarn build to make production build.
  • npm run test or yarn test to run tests.
  • npm run eject or yarn eject to eject the CRA.

These are all commands from the original CRA. Please refer to CRA documentation.

What is this repo for?

This repo acts as a boilerplate for a CRA setup with TypeScript and SWC as transpiler.

There is an example SWC config in the craco.config.js. Feel free to make changes to it.

More info here: https://swc.rs/docs/configuration/swcrc

Craco-SWC

Info here: https://github.com/pradel/create-react-app-swc/blob/main/packages/craco-swc/README.md

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published