You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// in webpack.config.jstarget: 'node',node: {process: false},plugins: [newwebpack.DefinePlugin({'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV)})],
This was for webpack 4 but we are using webpack 5, there are some changes to apply, see this commit 4d97303
i tested the code. The dist lib can be imported with node but some difficulties with loading the camera file. Anyway the fact is the same dist lib can not loaded inside a browser. So you need to provide two versions of the dist lib.
As said in issue #128 #128 (comment) we should build the dist lib with these instructions:
The text was updated successfully, but these errors were encountered: