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

Exclude APIs required only for tests from main bundle #288

Merged
merged 1 commit into from
Mar 16, 2019
Merged

Exclude APIs required only for tests from main bundle #288

merged 1 commit into from
Mar 16, 2019

Conversation

L2jLiga
Copy link
Contributor

@L2jLiga L2jLiga commented Feb 24, 2019

bundle.js before: 781kb, after: 776kb

@fabiosantoscode, @nifgraup could you take a look? Actually I'm not sure is it minor or major change according to semver. If this were part of the public APIs, then it should be part of the next major update otherwise it looks like as minor.

package.json Show resolved Hide resolved
main.js Show resolved Hide resolved
@fabiosantoscode
Copy link
Collaborator

Lookin' good. Merging it in!

@fabiosantoscode fabiosantoscode merged commit 1e8c6e2 into terser:master Mar 16, 2019
@MattiasBuelens
Copy link
Contributor

Wish I had seen this sooner! I added a map_from_object helper in #300, but that's only used by the test runner.

I'll make a pull request to move it to the test-only APIs. 😉

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