Closed indraraj26 closed 8 months ago
I don't know the exact cause but this "replace-in-file": "^6.3.5" is working fine but not with 7x
Hi, not sure, are the files are passed to Glob, could be something with the newer version of Glob that is used in 7.x.
I suggest perhaps trying the disableGlobs
setting or specifically the windowsPathsNoEscape
setting.
Feel free to reopen if those don't help and if you can pin point an error in this library.
Yes indeed it is working fine with disableGlobs: true or
glob: {
//Glob settings here (examples given below)
dot: true, //To include file names starting with a dot
windowsPathsNoEscape: true, //To fix paths on Windows OS when path.join() is used to create paths
},
index.js
index.html
Node -v
replace-in-file version