Skip to content

Commit

Permalink
Build: Fix esbuildPluginReplaceModule (#12530)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Mar 25, 2022
1 parent 1164927 commit 6128c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build/esbuild-plugins/replace-module.mjs
Expand Up @@ -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",
};

Expand Down

0 comments on commit 6128c5c

Please sign in to comment.