Skip to content
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.

Configurable transformer, plugins and presets. #3

Closed
gcphost opened this issue Sep 22, 2016 · 3 comments
Closed

Configurable transformer, plugins and presets. #3

gcphost opened this issue Sep 22, 2016 · 3 comments

Comments

@gcphost
Copy link

gcphost commented Sep 22, 2016

Hi

Thanks for the plugin.

I am using Angular 2 Final and can't use all of the plugins listed in babel-preset-babili so it would be nice to have the option to disable presets and provide an array of plugins.

  • Will
@gcphost
Copy link
Author

gcphost commented Sep 22, 2016

Pr #4

@boopathi
Copy link
Member

This will be done on babili's side as Minifier Options - babel/minify#162

Adding custom plugins apart from babili provided options doesn't sound right IMO. Also, if the user wants selective optimizations / disable one plugin from the preset, then with this approach, s/he has to pass in all other plugins that babili uses - this is just bad.

@boopathi
Copy link
Member

babel/minify#162 is merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants