Build: Fix esbuildPluginReplaceModule (#12530)
This commit is contained in:
1 parent
11649270f6
commit
6128c5c4e4
1 file changed
+1
-1
@@ -2,7 +2,7 @@ import fs from "node:fs/promises";
|
||||
|
||||
const DEFAULT_ON_RESOLVE_CONCEPTS = { filter: /./, namespace: "file" };
|
||||
const DEFAULT_ON_LOAD_CONCEPTS = {
|
||||
filter: /.(?:js|json|mjs|cjs)$/,
|
||||
filter: /\.(?:js|json|mjs|cjs)$/,
|
||||
namespace: "file",
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user