Created
February 18, 2019 13:48
-
-
Save simongcc/68d0613b48f6ae2ed3e190fab29b6305 to your computer and use it in GitHub Desktop.
Notes on dealing with Babel with Gulp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When using Gulp with Babel and encounter problem during upgrade modules, can check: | |
1. run npx babel-upgrade to check, with --write to actually modify | |
2. remove the node_modules, can use Ram drive to test without hurting the SSD/HD | |
3. check gulp-cli version by typing > gulp -v, the local version did affect the result | |
in my case, it was cli: 1.3, local: 4.0, the 1.3 did not support to run properly after upgrading to Babel 7.0 with gulp-babel etc also updated | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment