We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebaf437 commit 3be6a2dCopy full SHA for 3be6a2d
scripts/release.sh
@@ -45,4 +45,14 @@ git push origin latest -f
45
46
./scripts/build.sh
47
48
+# This is a workaround for a nasty npm bug. :'(
49
+# First, we need to uninstall the history package so
50
+# it's not included in the react-router npm package.
51
+# https://github.com/rackt/react-router/issues/2195
52
+# https://github.com/npm/npm/issues/9894
53
+rm -rf node_modules/history
54
+
55
npm publish
56
57
+# And then re-install it after we publish.
58
+npm install history
0 commit comments