prettier
This commit is contained in:
+5
-2
@@ -87,9 +87,12 @@ module.exports = async function (env, argv) {
|
|||||||
* the builtin out with an empty module.
|
* the builtin out with an empty module.
|
||||||
*/
|
*/
|
||||||
config.plugins.push(
|
config.plugins.push(
|
||||||
new webpack.NormalModuleReplacementPlugin(/^node:async_hooks$/, resource => {
|
new webpack.NormalModuleReplacementPlugin(
|
||||||
|
/^node:async_hooks$/,
|
||||||
|
resource => {
|
||||||
resource.request = 'async_hooks'
|
resource.request = 'async_hooks'
|
||||||
}),
|
},
|
||||||
|
),
|
||||||
)
|
)
|
||||||
config.resolve.fallback = {...config.resolve.fallback, async_hooks: false}
|
config.resolve.fallback = {...config.resolve.fallback, async_hooks: false}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user