diff options
author | 2023-04-25 07:57:00 -0700 | |
---|---|---|
committer | 2023-04-25 07:57:00 -0700 | |
commit | 947634c9ed2e9f33b884b96686762a1a64a6a083 (patch) | |
tree | f112a64b7e521891034d26346087cce492fb1f99 /src/bun.js/builtins/js | |
parent | 126885e1fe509b69be947d79aacb3ed6efdf666a (diff) | |
download | bun-947634c9ed2e9f33b884b96686762a1a64a6a083.tar.gz bun-947634c9ed2e9f33b884b96686762a1a64a6a083.tar.zst bun-947634c9ed2e9f33b884b96686762a1a64a6a083.zip |
typo
Diffstat (limited to 'src/bun.js/builtins/js')
-rw-r--r-- | src/bun.js/builtins/js/BundlerPlugin.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bun.js/builtins/js/BundlerPlugin.js b/src/bun.js/builtins/js/BundlerPlugin.js index 70e6a97a5..7f8170eb2 100644 --- a/src/bun.js/builtins/js/BundlerPlugin.js +++ b/src/bun.js/builtins/js/BundlerPlugin.js @@ -60,7 +60,7 @@ function runOnResolvePlugins( } for (let [filter, callback] of results) { - if (filtertest(inputPath)) { + if (filter.test(inputPath)) { var result = callback({ path: inputPath, importer, @@ -116,6 +116,7 @@ function runOnResolvePlugins( ); } + if (!external) { if (userNamespace === "file") { // TODO: Windows @@ -126,6 +127,7 @@ function runOnResolvePlugins( } } + if (userNamespace === "dataurl") { if (!path.startsWith("data:")) { @throwTypeError( |