@tamagui/build 1.0.1-beta.77 → 1.0.1-beta.80

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.
@@ -1 +1 @@
1
- @tamagui/build:build: cache hit, replaying output 5244957ac2aedd1a
1
+ @tamagui/build:build: cache hit, replaying output f03548bf7a599d86
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/build",
3
- "version": "1.0.1-beta.77",
3
+ "version": "1.0.1-beta.80",
4
4
  "bin": {
5
5
  "tamagui-build": "tamagui-build.js"
6
6
  },
@@ -18,7 +18,7 @@
18
18
  "fast-glob": "^3.2.11",
19
19
  "fs-extra": "^10.1.0",
20
20
  "lodash.debounce": "^4.0.8",
21
- "typescript": "^4.8.0-beta"
21
+ "typescript": "^4.7.4"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/fs-extra": "^9.0.13"
package/tamagui-build.js CHANGED
@@ -76,8 +76,10 @@ async function build() {
76
76
  ])
77
77
  console.log('built', pkg.name, 'in', Date.now() - start, 'ms')
78
78
  } catch (error) {
79
- console.log(error.message)
80
- process.exit(1)
79
+ console.error(`Error building:`, error.message)
80
+ if (!shouldWatch) {
81
+ process.exit(1)
82
+ }
81
83
  }
82
84
  }
83
85
 
@@ -170,7 +172,7 @@ async function buildJs() {
170
172
  jsx: 'preserve',
171
173
  outdir: flatOut ? 'dist' : 'dist/jsx',
172
174
  entryPoints: files,
173
- sourcemap: false,
175
+ sourcemap: true,
174
176
  target: 'es2019',
175
177
  keepNames: false,
176
178
  format: 'esm',