Remove `onnxruntime-node` from webpack ignore plugin
This commit is contained in:
parent
34db6d694c
commit
e1ea278024
|
@ -25,7 +25,9 @@ export default {
|
|||
plugins: [
|
||||
// Do not include node modules when bundling for the browser
|
||||
new webpack.IgnorePlugin({
|
||||
resourceRegExp: /^onnxruntime-node$|^node:/
|
||||
// NOTE: We do not ignore `onnxruntime-node` because it's
|
||||
// already ignored by the `browser` option in in package.json
|
||||
resourceRegExp: /^node:/
|
||||
}),
|
||||
|
||||
// Copy .wasm files to dist folder
|
||||
|
|
Loading…
Reference in New Issue