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

babel-plugin-minify-builtins not minified? #500

Closed
FezVrasta opened this issue Apr 16, 2017 · 2 comments
Closed

babel-plugin-minify-builtins not minified? #500

FezVrasta opened this issue Apr 16, 2017 · 2 comments

Comments

@FezVrasta
Copy link

FezVrasta commented Apr 16, 2017

I have this options object I use with the Babel JS API:

const options = {
  presets: ['babili', !!argv.es5 && ['es2015', { modules: false }], 'stage-2'],
  plugins: ['minify-builtins'],
  comments: false,
  minified: true,
  compact: true,
  sourceMaps: true,
  inputSourceMap,
};

I notice that _Mathfloor & co aren't minified to a single letter variable, I wonder if this is a bug?

@hzoo
Copy link
Member

hzoo commented Apr 16, 2017

Hey @FezVrasta! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
community that typically always has someone willing to help. You can sign-up here
for an invite.

@FezVrasta FezVrasta reopened this Apr 17, 2017
@FezVrasta FezVrasta changed the title babel-plugin-minify-builtins broken? babel-plugin-minify-builtins not minified? Apr 17, 2017
@goto-bus-stop
Copy link
Contributor

goto-bus-stop commented Apr 17, 2017

This should be fixed on master. See also #425 and #472

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

No branches or pull requests

3 participants