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

Update build to babel 7 and configure to compile to modern targets #196

Closed
wants to merge 4 commits into from

Conversation

blikblum
Copy link
Member

@blikblum blikblum commented Mar 8, 2019

This updates the build system to use babel 7 and configure it to target modern systems.

Together with foliojs/dfa#1 allows to remove a bunch of big and slow code

[
"@babel/preset-env",
{
"targets": {
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we could do both a modern and a legacy build? I think a good number of people still need to support IE 11.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done. Added es5 (ie11) compatible build

@blikblum
Copy link
Member Author

Rebased on top of master to fix conflict

@tgabi333
Copy link

👍

}
}

const modernBrowsers = [
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

This can be done is a followup PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

given how much further into the future things are now, it's probably worth updating this to https://github.com/browserslist/browserslist rather than in followup at this point. Just in case it takes another year before it actually lands =(

@Pomax
Copy link
Contributor

Pomax commented Feb 21, 2020

@devongovett good to merge?

@joewestcott
Copy link

Please can this be merged @devongovett

@mohd-akram
Copy link

Any update on this?

@russell-dot-js
Copy link

bruh

@crespinb
Copy link

could this be merged?

@redstone99
Copy link

Would be great to get this merged in...

@davecarlson
Copy link

is there any update to this? It's been 2 years!

You mention on the pdfkit github this ticket, we want to know if it's likely to be merged, or if we need to move to a different supported library

@vsachini
Copy link

Could this be merged?

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.