Skip to content

Commit

Permalink
build: fix windows prod launch failure
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Nov 11, 2023
1 parent 95090a3 commit 8671df1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@ function makeBracketsConcatJS() {
for(let mergePath of pathsToMerge){
let files = listAllJsFilesRecursively(`${srcDir}${mergePath}`);
for(let file of files){
file = file.replaceAll("\\", "/"); // windows style paths to webby paths
let requirePath = file.replace(srcDir, "").replace(".js", "");
requirePath = requirePath.replaceAll("\\", "/"); // windows style paths to webby paths
let content = fs.readFileSync(file, "utf8");
const count = content.split("define(").length - 1;
if(count === 0 || DO_NOT_CONCATENATE.includes(file)) {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@
"testIntegHelp": "echo By default this command only runs unit tests.To Run integration tests, please see `Running and debugging tests` section in readme.md",
"testChromium": "npm run testIntegHelp && npx playwright test --project=chromium",
"testChromiumDist": "npm run testIntegHelp && npx cross-env TEST_DIST=true npx playwright test --project=chromium",
"testChromiumDistDebug": "npm run testIntegHelp && npx cross-env TEST_DIST=true npx playwright test --project=chromium --debug",
"testChromiumDebug": "npm run testIntegHelp && npx playwright test --project=chromium --debug",
"testFirefox": "npm run testIntegHelp && npx playwright test --project=firefox",
"testFirefoxDist": "npm run testIntegHelp && npx cross-env TEST_DIST=true npx playwright test --project=firefox",
"testFirefoxDistDebug": "npm run testIntegHelp && npx cross-env TEST_DIST=true npx playwright test --project=firefox --debug",
"testFirefoxDebug": "npm run testIntegHelp && npx playwright test --project=firefox --debug",
"_compileLessSrc": "lessc src/styles/brackets.less src/styles/brackets-all.css --source-map",
"_buildonly": "gulp build",
Expand Down

0 comments on commit 8671df1

Please sign in to comment.