Using Elm inside create-react-app or: How to properly patch your `node_modules`
6 minute read Modified:
This article describes how you could use Elm inside a create-react-app and how you could patch your `node_modules` in a proper, reusable way.
Introduction In this Blog-post we will use create-react-app to demonstrate how you could use Elm inside and while doing that how to patch your node_modules in a reusable way by using patch-package.
Create Application We will create a react-app with
npx create-react-app elm-react-app This gives us a basic react-app with everything out of the box. Note that we are using react-scripts at version 3.1.1 here, future versions might have different line numbers we are using later on.