This commit is contained in:
Oleksii Bulenok
2026-07-30 18:59:07 +02:00
parent b4885c7333
commit eb6683e5cd
+6 -3
View File
@@ -87,9 +87,12 @@ module.exports = async function (env, argv) {
* the builtin out with an empty module.
*/
config.plugins.push(
new webpack.NormalModuleReplacementPlugin(/^node:async_hooks$/, resource => {
resource.request = 'async_hooks'
}),
new webpack.NormalModuleReplacementPlugin(
/^node:async_hooks$/,
resource => {
resource.request = 'async_hooks'
},
),
)
config.resolve.fallback = {...config.resolve.fallback, async_hooks: false}