Skip to content

target node14.6.0 emits unsupported code #2315

@Shinigami92

Description

@Shinigami92

faker-js/faker#1052

We set out target to ['es2020', 'node14.6.0'] as node v14.6 is the lowest version we want to support based on https://kangax.github.io/compat-table/es2016plus/#node14_6

In the issue you can see that everything below node 14.13 is failing in the build step
(I assume) related to that, we got multiple issue reports about that Webpack and Cypress now fails when using FakerJS


This can be somewhat also be relevant for Vite and other Vue/Vite ecosystem packages 👀

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions