You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running this project in Windows. After path.normalize, the slashes are backslash (running on Windows) but the real problem comes here: glob does not recogize backslashes.
To normalize and revert the backslashes following code needs to be put ether another solution my be found.: var isWindow = process.platform === "win32"; //for Glob Lib, revert back if(isWindow) inputDir = inputDir.replace(/\\/g, '/');
A lot of people may know this, but I did not know it.
This is suggestion of mine.
Thanks
Best Regards
IA
The text was updated successfully, but these errors were encountered:
mercury-template/npm_scripts/cleancss.js
Line 51 in 4214160
I am running this project in Windows. After path.normalize, the slashes are backslash (running on Windows) but the real problem comes here: glob does not recogize backslashes.
To normalize and revert the backslashes following code needs to be put ether another solution my be found.:
var isWindow = process.platform === "win32";
//for Glob Lib, revert back
if(isWindow)
inputDir = inputDir.replace(/\\/g, '/');
A lot of people may know this, but I did not know it.
This is suggestion of mine.
Thanks
Best Regards
IA
The text was updated successfully, but these errors were encountered: