Closed zhouzhongyuan closed 7 years ago
Lookup behavior
Babel will look for a .babelrc in the current directory of the file being transpiled. If one does not exist, it will travel up the directory tree until it finds either a .babelrc, or a package.json with a "babel": {} hash within.
Use "babelrc": false in options to stop lookup behavior, or provide the --no-babelrc CLI flag.
shim vs polyfill