Skip to content

Commit 5f0d936

Browse files
committed
Fix app build
This commit simply ensures that "this.createTimeout" is replaced by "exports.createTimeout" in the node-retry package. This is so that we implement this PR: tim-kos/node-retry#85 before node-retry is officially updated.
1 parent 993b68c commit 5f0d936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
],
2222
"scripts": {
2323
"clean": "shx rm -rf dist .parcel-cache",
24-
"build": "yarn clean && parcel build src/index.html",
24+
"build": "find -name retry.js -type f -exec sed -i -e 's/this.createTimeout/exports.createTimeout/g' {} \\; && yarn clean && parcel build src/index.html",
2525
"start": "yarn clean && parcel src/index.html",
2626
"fmt": "prettier --write '{*,**/*}.{js,ts,jsx,tsx,json}'",
2727
"lint": "eslint . && prettier --check '{*,**/*}.{js,ts,jsx,tsx,json}'",

0 commit comments

Comments
 (0)