Skip to content

Instantly share code, notes, and snippets.

@romanenko
Forked from patrickheeney/patch.sh
Last active December 12, 2015 07:54
Show Gist options
  • Save romanenko/90adcd050b123b31b09d to your computer and use it in GitHub Desktop.
Save romanenko/90adcd050b123b31b09d to your computer and use it in GitHub Desktop.
Babel6 Patch
//Use within same directory as node_modules
mv node_modules/babel-runtime node_modules/babel-runtime-bak
git clone [email protected]:loganfsmyth/babel.git node_modules/babel-patch
cd node_modules/babel-patch
git checkout runtime-typeof-error-T6644
npm install
make
make build-dist
cd ../../
cp -r node_modules/babel-patch/packages/babel-runtime node_modules/babel-runtime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment