@tamagui/vite-plugin 2.0.0-rc.29 → 2.0.0-rc.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/src/plugin.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/vite-plugin",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.30",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"src",
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
"clean:build": "tamagui-build clean:build"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@tamagui/fake-react-native": "2.0.0-rc.
|
|
36
|
-
"@tamagui/proxy-worm": "2.0.0-rc.
|
|
37
|
-
"@tamagui/react-native-svg": "2.0.0-rc.
|
|
38
|
-
"@tamagui/react-native-web-lite": "2.0.0-rc.
|
|
39
|
-
"@tamagui/static-worker": "2.0.0-rc.
|
|
40
|
-
"@tamagui/types": "2.0.0-rc.
|
|
35
|
+
"@tamagui/fake-react-native": "2.0.0-rc.30",
|
|
36
|
+
"@tamagui/proxy-worm": "2.0.0-rc.30",
|
|
37
|
+
"@tamagui/react-native-svg": "2.0.0-rc.30",
|
|
38
|
+
"@tamagui/react-native-web-lite": "2.0.0-rc.30",
|
|
39
|
+
"@tamagui/static-worker": "2.0.0-rc.30",
|
|
40
|
+
"@tamagui/types": "2.0.0-rc.30",
|
|
41
41
|
"esm-resolve": "^1.0.8",
|
|
42
42
|
"fs-extra": "^11.2.0",
|
|
43
43
|
"outdent": "^0.8.0",
|
|
44
44
|
"react-native-web": "^0.21.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@tamagui/build": "2.0.0-rc.
|
|
47
|
+
"@tamagui/build": "2.0.0-rc.30",
|
|
48
48
|
"vite": "^8.0.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
package/src/plugin.ts
CHANGED
|
@@ -306,6 +306,10 @@ export function tamaguiPlugin({
|
|
|
306
306
|
resolve: {
|
|
307
307
|
alias: tamaguiAliases({ rnwLite: options.useReactNativeWebLite }),
|
|
308
308
|
},
|
|
309
|
+
optimizeDeps: {
|
|
310
|
+
// upstream react-native-web must not be pre-bundled when aliased to lite
|
|
311
|
+
exclude: ['react-native-web'],
|
|
312
|
+
},
|
|
309
313
|
}
|
|
310
314
|
},
|
|
311
315
|
}
|