Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init Lerna #6

Merged
merged 1 commit into from Apr 12, 2016
Merged

Init Lerna #6

merged 1 commit into from Apr 12, 2016

Conversation

jamiebuilds
Copy link
Contributor

No description provided.

minified: true,
comments: false,
});
};
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't sure what to do with this file. Should we have both babel-minify-cli and babel-minify-core like we do with Babel?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah if we want to be able to use it standalone as well as just a preset then we should do something like that?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah it's necessary to have all three ways of using it:

  1. programmatic api
  2. preset
  3. cli

@amasad
Copy link
Member

amasad commented Apr 12, 2016

I'll merge this and then we can work on the cli and api separately

@amasad amasad merged commit 8a3577b into master Apr 12, 2016
@amasad amasad deleted the lerna branch April 12, 2016 20:18
plugins: [
require('babel-plugin-minify-constant-folding'),
require('babel-plugin-minify-dead-code-elimination'),
require('babel-plugin-minify-empty-function'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want to include empty function or replace right? If we do we need to pass in some options + generalize empty-function?

Ref babel/babel#3331

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah we don't need it, it's Facebook-specific

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We want to still keep it in the repo though right?

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

Successfully merging this pull request may close these issues.

None yet

3 participants