lodash / babel-plugin-lodash

Modular Lodash builds without the hassle.
Other
1.95k stars 95 forks source link

Tweak README suggestion for preserving ES2015 #187

Closed Retsam closed 7 years ago

Retsam commented 7 years ago

The existing documentation suggests omitting the transform-es2015-modules-commonjs plugin, but there's not really a way to omit individual plugins from babel presets, but the "es2015" preset does support an option which disables the module transformation, so this PR changes the readme to suggest that, instead.

jsf-clabot commented 7 years ago

CLA assistant check
All committers have signed the CLA.

jdalton commented 7 years ago

Hi @Retsam!

I rather keep it a bit generic since you can disable them with the babel-preset-env too.