Skip to content

Commit 779a8d8

Browse files
committed
Make sure PUBLIC_URL is set in the sub-processes
1 parent a254756 commit 779a8d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"test:integration": "cd e2e; docker compose up --exit-code-from cypress",
5959
"start:wc": "NODE_ENV=development BABEL_ENV=development webpack serve -c ./webpack.component.config.js",
6060
"build:wc": "NODE_ENV=production BABEL_ENV=production webpack build -c ./webpack.component.config.js",
61-
"heroku-postbuild": "PUBLIC_URL='' NODE_ENV=production BABEL_ENV=production yarn run build && yarn run build:wc"
61+
"heroku-postbuild": "export PUBLIC_URL='' && yarn build && yarn build:wc"
6262
},
6363
"eslintConfig": {
6464
"extends": [

0 commit comments

Comments
 (0)