Skip to content

2.0.2

Choose a tag to compare

@developit developit released this 16 Apr 17:10
· 24 commits to master since this release

Possibly Breaking Changes

  • Fix module resolution to account for NPM 3
  • Possibly breaking change: modify-babel-preset now crawls the node_modules tree and serialize presets and plugins to their respective filenames, then flattens nested presets down to a single plugins[] Array. Transformations are applied to the list of plugins as filenames (for matching), and then the filenames are swapped back out for their original exported functions and the resulting flattened, mutated preset is returned.
  • modify-babel-preset now attempts to be self-aware. If modifying a preset generated using modify-babel-preset itself, it will attempt to use the preset's original modifications list and apply them against its original source preset.