Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Apr 3, 2024
1 parent c3d05ca commit 3c1f3a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@textlint/script-compiler/src/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:/, "");
}),
Expand Down

0 comments on commit 3c1f3a8

Please sign in to comment.