We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6daaae0 commit 87c0d42Copy full SHA for 87c0d42
gulpfile.js/index.js
@@ -420,7 +420,8 @@ function makeBracketsConcatJS() {
420
for(let mergePath of pathsToMerge){
421
let files = listAllJsFilesRecursively(`${srcDir}${mergePath}`);
422
for(let file of files){
423
- const requirePath = file.replace(srcDir, "").replace(".js", "");
+ let requirePath = file.replace(srcDir, "").replace(".js", "");
424
+ requirePath = requirePath.replaceAll("\\", "/"); // windows style paths to webby paths
425
let content = fs.readFileSync(file, "utf8");
426
const count = content.split("define(").length - 1;
427
if(count === 0 || DO_NOT_CONCATENATE.includes(file)) {
0 commit comments