Packages
@strict-script/loader
strict-script in the builds that are not Vite: a .sts file becomes its JavaScript where it is imported.
| Entry | For |
|---|---|
@strict-script/loader/webpack | webpack, and what takes its loaders (Next) |
@strict-script/loader/metro | Metro, the build of React Native |
@strict-script/loader/jest | Jest, which is how a project of React Native tests its components |
@strict-script/loader | build(path, text): one file, for a build that is none of these |
Each is an adapter around the compiler, with no rule of the language in it. How to set them up is in In a project. Tested with webpack, with Metro and with Jest; not run inside Next.