JSPM

rescript-worker-loader

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 28
  • Score
    100M100P100Q57132F
  • License MIT

Enable web worker-loader for your create-react-app project.

Package Exports

  • rescript-worker-loader

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rescript-worker-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rescript-worker-loader

Enable web worker-loader for your create-react-app project.

Usage

npm i -D rescript-worker-loader

Set up rescript as how its document said, then add 'worker-loader' to the list, for example:

  "rescripts": [
    [
      "use-babel-config",
      ".babelrc.js"
    ],
    "disable-eslint",
    "worker-loader"
  ],