Skip to content

Commit 1c785e6

Browse files
committed
build: fix windows prod launch failure
1 parent 87c0d42 commit 1c785e6

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

gulpfile.js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,8 @@ function makeBracketsConcatJS() {
420420
for(let mergePath of pathsToMerge){
421421
let files = listAllJsFilesRecursively(`${srcDir}${mergePath}`);
422422
for(let file of files){
423+
file = file.replaceAll("\\", "/"); // windows style paths to webby paths
423424
let requirePath = file.replace(srcDir, "").replace(".js", "");
424-
requirePath = requirePath.replaceAll("\\", "/"); // windows style paths to webby paths
425425
let content = fs.readFileSync(file, "utf8");
426426
const count = content.split("define(").length - 1;
427427
if(count === 0 || DO_NOT_CONCATENATE.includes(file)) {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@
5050
"testIntegHelp": "echo By default this command only runs unit tests.To Run integration tests, please see `Running and debugging tests` section in readme.md",
5151
"testChromium": "npm run testIntegHelp && npx playwright test --project=chromium",
5252
"testChromiumDist": "npm run testIntegHelp && npx cross-env TEST_DIST=true npx playwright test --project=chromium",
53+
"testChromiumDistDebug": "npm run testIntegHelp && npx cross-env TEST_DIST=true npx playwright test --project=chromium --debug",
5354
"testChromiumDebug": "npm run testIntegHelp && npx playwright test --project=chromium --debug",
5455
"testFirefox": "npm run testIntegHelp && npx playwright test --project=firefox",
5556
"testFirefoxDist": "npm run testIntegHelp && npx cross-env TEST_DIST=true npx playwright test --project=firefox",
57+
"testFirefoxDistDebug": "npm run testIntegHelp && npx cross-env TEST_DIST=true npx playwright test --project=firefox --debug",
5658
"testFirefoxDebug": "npm run testIntegHelp && npx playwright test --project=firefox --debug",
5759
"_compileLessSrc": "lessc src/styles/brackets.less src/styles/brackets-all.css --source-map",
5860
"_buildonly": "gulp build",

0 commit comments

Comments
 (0)