We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
esbuildPluginReplaceModule
1 parent 1164927 commit 6128c5cCopy full SHA for 6128c5c
1 file changed
scripts/build/esbuild-plugins/replace-module.mjs
@@ -2,7 +2,7 @@ import fs from "node:fs/promises";
2
3
const DEFAULT_ON_RESOLVE_CONCEPTS = { filter: /./, namespace: "file" };
4
const DEFAULT_ON_LOAD_CONCEPTS = {
5
- filter: /.(?:js|json|mjs|cjs)$/,
+ filter: /\.(?:js|json|mjs|cjs)$/,
6
namespace: "file",
7
};
8
0 commit comments