@tamagui/build 1.75.5 → 1.75.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tamagui-build.js +11 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/build",
3
- "version": "1.75.5",
3
+ "version": "1.75.7",
4
4
  "bin": {
5
5
  "tamagui-build": "tamagui-build.js"
6
6
  },
package/tamagui-build.js CHANGED
@@ -45,6 +45,17 @@ const pkgTypes = Boolean(pkg['types'] || pkg['typings'])
45
45
 
46
46
  const flatOut = [pkgMain, pkgModule, pkgModuleJSX].filter(Boolean).length === 1
47
47
 
48
+ const replaceRNWeb = {
49
+ esm: {
50
+ from: 'from "react-native"',
51
+ to: 'from "react-native-web"'
52
+ },
53
+ cjs: {
54
+ from: 'require("react-native")',
55
+ to: 'require("react-native-web")'
56
+ }
57
+ }
58
+
48
59
  async function clean() {
49
60
  try {
50
61
  await Promise.allSettled([
@@ -511,14 +522,3 @@ async function esbuildWriteIfChanged(
511
522
  })
512
523
  )
513
524
  }
514
-
515
- const replaceRNWeb = {
516
- esm: {
517
- from: 'from "react-native"',
518
- to: 'from "react-native-web"'
519
- },
520
- cjs: {
521
- from: 'require("react-native")',
522
- to: 'require("react-native-web")'
523
- }
524
- }