@captor/react-scripts
v5.0.0
Published
Configuration and scripts for Create React App. Fork from facebook/create-react-script. Added wasm-loader to webpack.config.js
Downloads
190
Readme
react-scripts
This package includes scripts and configuration used by Create React App. Please refer to its documentation:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.
@captor/react-scripts
@captor/react-scripts
is identical to facebook react-scripts
but it adds loaders for wasm.
How to use the @captor/react-scripts
To create a new app run:
npx create-react-app <app-name> --scripts-version @captor/react-scripts
Or change to @captor/react-scripts
in an existing app. Change in package.json
"dependencies": {
"react-scripts": "x.x.x",
"react": "^x.x.x",
"react-dom": "^x.x.x"
},
to
"dependencies": {
"@captor/react-scripts": "x.x.x",
"react": "^x.x.x",
"react-dom": "^x.x.x"
},