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