•  
      request #38621 Drop redundant JS polyfills
    Infos
    #38621
    Joris MASSON (jmasson)
    2024-06-21 13:38
    2024-06-21 10:56
    40244
    Details
    Drop redundant JS polyfills

    While working on request #38620, I found the nolyfill tool. It offers a command-line to identify and override polyfill npm packages that are now redundant. Some package authors still support up to Node.js v4, which has entered end of life in 2018. Since we have a recent enough Node.js runtime for our dev environment, we can and should override those packages. It wastes our bandwidth, CPU and storage to keep downloading and installing them when there are native platform equivalents in Node.js (or in our browsers). Using nolyfill lets us override installed packages with very lightweight equivalents.

    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2024-06-21
    Attachments
    Empty
    References

    Follow-ups