Skip to content

Commit a254756

Browse files
committed
Set PUBLIC_URL for the heroku build
1 parent 4c72eb9 commit a254756

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": "yarn run build && yarn run build:wc"
61+
"heroku-postbuild": "PUBLIC_URL='' NODE_ENV=production BABEL_ENV=production yarn run build && yarn run build:wc"
6262
},
6363
"eslintConfig": {
6464
"extends": [

0 commit comments

Comments
 (0)