@captor/react-scripts

Configuration and scripts for Create React App. Fork from facebook/create-react-script. Added wasm-loader to webpack.config.js

Usage no npm install needed!

<script type="module">
  import captorReactScripts from 'https://cdn.skypack.dev/@captor/react-scripts';
</script>

README

npm version install size

react-scripts

This package includes scripts and configuration used by Create React App.
Please refer to its documentation:

@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"
  },

Fork instructions

Follow this guide