0.0.1 • Published 6 years ago

parcel-babel-fix v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

parcel-babel-fix

This package fixes that pesky error from parcel-bundler about missing babel presets.

parcel-bundler tries to re-transpile the source code of packages in node_modules when a .babelrc is present.

This package "fixes" the issue by deleting the .babelrc of all your packages in node_modules. No .babelrc, no problem.

usage

Add the following to your package.json:

{
  "scripts": {
    "postinstall": "parcel-babel-fix"
  }
}