dappconnect-sdks/patches/@tamagui+static+1.11.1.patch

25 lines
662 B
Diff

diff --git a/node_modules/@tamagui/static/dist/cjs/extractor/bundle.js b/node_modules/@tamagui/static/dist/cjs/extractor/bundle.js
index 0709a69..5138aa5 100644
--- a/node_modules/@tamagui/static/dist/cjs/extractor/bundle.js
+++ b/node_modules/@tamagui/static/dist/cjs/extractor/bundle.js
@@ -87,7 +87,18 @@ function getESBuildConfig({ entryPoints, resolvePlatformSpecificEntries, ...opti
...aliases
})
],
- ...options
+ ...options,
+ resolveExtensions: [
+ '.web.js',
+ '.web.ts',
+ '.web.tsx',
+ '.js',
+ '.jsx',
+ '.json',
+ '.ts',
+ '.tsx',
+ '.mjs',
+ ],
};
return res;
}