Script to do thins after build of esm modules
npm install @sprucelabs/esm-postbuildThis module ships with a script to run ES Module postbuild steps.
Add this line to your package.json
"build.esm-postbuild": "esm-postbuild --target build --patterns */.js",
Next run: yarn build.esm-postbuild