Hi,
I tried to rebuild the VueFlow UMD following your documentation in order to add some additional capabilities.
I noticed that to make the command npx webpack --config webpack.config.umd.js work, it was necessary to adjust the "type" property in the package.json.
In my case, it was set to "commonjs" by default. After removing this field, I was able to successfully build the UMD.
Not a big deal, but it might be helpful to mention this in the docs for people who are less familiar with JavaScript.
Hi,
I tried to rebuild the VueFlow UMD following your documentation in order to add some additional capabilities.
I noticed that to make the command
npx webpack --config webpack.config.umd.jswork, it was necessary to adjust the "type" property in the package.json.In my case, it was set to "commonjs" by default. After removing this field, I was able to successfully build the UMD.
Not a big deal, but it might be helpful to mention this in the docs for people who are less familiar with JavaScript.