I guess my issue is related to double quote strings.
index.js
"use strict";
// REST OF THE FILE
I need to add a require()
after the "use strict";
, so it will become:
"use strict";
require("module-alias/register");
// REST OF THE FILE
I'm trying to enclose the double quotes with single quotes:
npx replace-in-files --string='"use strict";' --replacement='"use strict";\nrequire("module-alias/register");'
Is it something possible to do?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too