Skip to content

Commit e097b89

Browse files
committed
fix: make static-assets with Yarn 4
1 parent 1db3f86 commit e097b89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ clean:
1515
static-assets: build
1616
cp build/static/js/*.js static-assets/main-v1.js
1717
sed -i '1s@.*@\/* eslint-disable *\/@' static-assets/main-v1.js
18-
sed -i '3s@.*@\/\/# sourceMappingURL=https:\/\/traefik.github.io\/traefiklabs-hub-button-app\/main-v1.js.map@' static-assets/main-v1.js
18+
sed -i '23s@.*@\/\/# sourceMappingURL=https:\/\/traefik.github.io\/traefiklabs-hub-button-app\/main-v1.js.map@' static-assets/main-v1.js
1919
cp build/static/js/*.js.map static-assets/main-v1.js.map
2020
sed -i -E '1s@static\/js\/main.[0-9a-zA-Z]{8}.js@https:\/\/traefik.github.io\/traefiklabs-hub-button-app\/main-v1.js@' static-assets/main-v1.js.map

0 commit comments

Comments
 (0)