From 3c1f3a8d286e3072c755bec93c7c0480d37fe174 Mon Sep 17 00:00:00 2001 From: azu Date: Thu, 4 Apr 2024 00:02:05 +0900 Subject: [PATCH] add comment --- packages/@textlint/script-compiler/src/compiler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/@textlint/script-compiler/src/compiler.ts b/packages/@textlint/script-compiler/src/compiler.ts index ca87ec0..fca4a48 100644 --- a/packages/@textlint/script-compiler/src/compiler.ts +++ b/packages/@textlint/script-compiler/src/compiler.ts @@ -93,6 +93,7 @@ export const createWebpackConfig = ({ }), // Remove the `node:` prefix // see: https://github.com/webpack/webpack/issues/14166 + // see: https://github.com/web-infra-dev/rsbuild/pull/1402 new webpack.NormalModuleReplacementPlugin(/^node:/, (resource) => { resource.request = resource.request.replace(/^node:/, ""); }),