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
I encountered an error when using DllReferencePlugin
The error message is TypeError: Cannot use 'in' operator to search for '../node_modules/webpack/hot/dev-server.js' in undefined
my code: new webpack.DllPlugin({ context: __dirname, name: '[name]_[fullhash]', path: path.join(__dirname, './dll/manifest.json'), }), new webpack.DllReferencePlugin({ context: __dirname, manifest: path.join(__dirname, './dll/manifest.json'), sourceType: 'commonjs2' })
Thank you for creating this issue. However, issues need to follow one of our templates so that we can clearly understand your particular circumstances.
Please help us help you by recreating the issue using one of our templates.
I will reopen the issue when you fixed it, thank you
node v14.18.0
webpack v3.6.0
I encountered an error when using DllReferencePlugin
The error message is TypeError: Cannot use 'in' operator to search for '../node_modules/webpack/hot/dev-server.js' in undefined
my code:
new webpack.DllPlugin({ context: __dirname, name: '[name]_[fullhash]', path: path.join(__dirname, './dll/manifest.json'), }), new webpack.DllReferencePlugin({ context: __dirname, manifest: path.join(__dirname, './dll/manifest.json'), sourceType: 'commonjs2' })
Error location:
lib/DelegatedModuleFactoryPlugin.js
The text was updated successfully, but these errors were encountered: