Uh oh!
There was an error while loading. Please reload this page.
Update build to babel 7 and configure to compile to modern targets - #196
Update build to babel 7 and configure to compile to modern targets#196blikblum wants to merge 4 commits into
Conversation
| [ | ||
| "@babel/preset-env", | ||
| { | ||
| "targets": { |
There was a problem hiding this comment.
Maybe we could do both a modern and a legacy build? I think a good number of people still need to support IE 11.
There was a problem hiding this comment.
Done. Added es5 (ie11) compatible build
blikblum
commented
Nov 17, 2019
Rebased on top of master to fix conflict |
tgabi333
commented
Jan 13, 2020
👍 |
| } | ||
| } | ||
| const modernBrowsers = [ |
There was a problem hiding this comment.
probably worth using https://github.com/browserslist/browserslist instead?
There was a problem hiding this comment.
This can be done is a followup PR.
There was a problem hiding this comment.
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
commented
Feb 21, 2020
@devongovett good to merge? |
joewestcott
commented
Mar 26, 2021
Please can this be merged @devongovett |
mohd-akram
commented
Apr 7, 2021
Any update on this? |
russell-dot-js
commented
Jun 15, 2021
bruh |
crespinb
commented
Jun 16, 2021
could this be merged? |
redstone99
commented
Jan 3, 2022
Would be great to get this merged in... |
davecarlson
commented
May 12, 2022
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
commented
May 19, 2022
Could this be merged? |
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