dagrejs / dagre

Directed graph layout for JavaScript
MIT License
4.61k stars 599 forks source link

Node version 14 #436

Open Manav1606 opened 6 months ago

Manav1606 commented 6 months ago

tell me how we use it on node version 14

dagadbm commented 5 months ago

so I had something similar I fixed this but I am using webpack and front-end only:

      {
        test: /\.js?$/,
        loader: "esbuild-loader",
        include: /dagrejs/,
        options: {
          target: "es2015", // Syntax to compile to (see options below for possible values)
        },
      },

i put this in the webpack module.rules