Skip to content

Commit

Permalink
Update build script to use localhost as API origin in dev-dev envs
Browse files Browse the repository at this point in the history
Motivation: we default to onesignal.com if no API origin is passed in. Thus, we should specify that the api origin should be localhost for dev-dev
  • Loading branch information
rgomezp committed Feb 6, 2024
1 parent 42ca70f commit 23b9f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"build:prod": "ENV=production yarn transpile:sources && ENV=production yarn bundle-sw && ENV=production yarn bundle-sdk && ENV=production yarn bundle-page-sdk-es6 && bundlesize && ENV=production build/scripts/publish.sh",
"test": "NODE_OPTIONS=\"--trace-warnings --unhandled-rejections=warn\" yarn run jest --detectOpenHandles --forceExit --runInBand",
"publish": "yarn clean && yarn build:prod && yarn",
"build:dev-dev": "./build/scripts/build.sh -f development -t development",
"build:dev-dev": "./build/scripts/build.sh -f development -t development -a localhost",
"build:dev-prod": "./build/scripts/build.sh -f development -t production",
"build:dev-stag": "./build/scripts/build.sh -f development -t staging",
"lint": "eslint src --ext .js,.jsx,.ts,.tsx; yarn prettylint 'src/**/*' 'test/**/*' '__test__/**/*' --no-editorconfig",
Expand Down

0 comments on commit 23b9f87

Please sign in to comment.