Skip to content

Commit 5ae2d8c

Browse files
committed
fix(dependencies): Add follow redirects as a dependency
Because we're vendoring axios, its dependencies don't get detected and installed, so they need to be dependencies of this package as well.
1 parent e931c95 commit 5ae2d8c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

SETUP.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ Axios is vendored because it expects a native or polyfilled implementation of pr
1919
Axios can be vendored with `npm run vendor:browser` and `npm run vendor:node`.
2020

2121
The browser vendored version runs on top of the standalone Axios browser version which is already optimized for this use case (it's not a good idea to try and run babel on top of the normal axios commonjs package as it produces an unnecessarily large file)
22+
23+
Because of this, the follow-redirects dependency of axios needs to be a dependency on this package as well, otherwise it won't be installed.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
],
4848
"dependencies": {
4949
"babel-runtime": "^6.3.19",
50+
"follow-redirects": "0.0.7",
5051
"lodash": "^4.2.0"
5152
},
5253
"devDependencies": {

0 commit comments

Comments
 (0)