status-web/patches/@tamagui+static+1.11.1.patch
Felicio Mununga 665d2df7e8
Setup apps/website (#383)
* scaffold website project with Next.js

* set tamagui target

* remove whitespace

* update clean npm scripts

* apply patches post-install

* lock tamagui version

* add patch-package to root

* patch @tamagui/core-node

* patch @tamagui/normalize-css-color

* patch @achingbrain/ssdp

* remove patches from website

* update clean script in website

* remove @tamagui/vite-plugin from dependencies

* patch @tamagui/static

* update node-version

* define env vars
2023-04-26 12:06:18 +02:00

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;
}