@tamagui/static 1.89.26 → 1.89.27-1708113113238
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/constants.native.js +4 -4
- package/dist/cjs/constants.native.js.map +3 -3
- package/dist/cjs/extractor/accessSafe.native.js +1 -5
- package/dist/cjs/extractor/accessSafe.native.js.map +3 -3
- package/dist/cjs/extractor/babelParse.native.js +5 -8
- package/dist/cjs/extractor/babelParse.native.js.map +3 -3
- package/dist/cjs/extractor/buildClassName.native.js +31 -42
- package/dist/cjs/extractor/buildClassName.native.js.map +3 -3
- package/dist/cjs/extractor/bundle.js +6 -4
- package/dist/cjs/extractor/bundle.js.map +1 -1
- package/dist/cjs/extractor/bundle.native.js +321 -56
- package/dist/cjs/extractor/bundle.native.js.map +3 -3
- package/dist/cjs/extractor/bundleConfig.native.js +499 -187
- package/dist/cjs/extractor/bundleConfig.native.js.map +3 -3
- package/dist/cjs/extractor/createEvaluator.native.js +9 -11
- package/dist/cjs/extractor/createEvaluator.native.js.map +3 -3
- package/dist/cjs/extractor/createExtractor.native.js +1240 -906
- package/dist/cjs/extractor/createExtractor.native.js.map +3 -3
- package/dist/cjs/extractor/ensureImportingConcat.native.js +11 -17
- package/dist/cjs/extractor/ensureImportingConcat.native.js.map +3 -3
- package/dist/cjs/extractor/esbuildAliasPlugin.native.js +22 -11
- package/dist/cjs/extractor/esbuildAliasPlugin.native.js.map +3 -3
- package/dist/cjs/extractor/evaluateAstNode.native.js +15 -21
- package/dist/cjs/extractor/evaluateAstNode.native.js.map +3 -3
- package/dist/cjs/extractor/extractHelpers.native.js +146 -38
- package/dist/cjs/extractor/extractHelpers.native.js.map +3 -3
- package/dist/cjs/extractor/extractMediaStyle.native.js +127 -54
- package/dist/cjs/extractor/extractMediaStyle.native.js.map +3 -3
- package/dist/cjs/extractor/extractToClassNames.native.js +449 -252
- package/dist/cjs/extractor/extractToClassNames.native.js.map +3 -3
- package/dist/cjs/extractor/findTopmostFunction.native.js +4 -4
- package/dist/cjs/extractor/findTopmostFunction.native.js.map +3 -3
- package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js +415 -54
- package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js.map +3 -3
- package/dist/cjs/extractor/generatedUid.native.js +2 -2
- package/dist/cjs/extractor/generatedUid.native.js.map +3 -3
- package/dist/cjs/extractor/getPrefixLogs.native.js +2 -1
- package/dist/cjs/extractor/getPrefixLogs.native.js.map +3 -3
- package/dist/cjs/extractor/getPropValueFromAttributes.native.js +16 -19
- package/dist/cjs/extractor/getPropValueFromAttributes.native.js.map +3 -3
- package/dist/cjs/extractor/getSourceModule.native.js +20 -7
- package/dist/cjs/extractor/getSourceModule.native.js.map +3 -3
- package/dist/cjs/extractor/getStaticBindingsForScope.native.js +336 -94
- package/dist/cjs/extractor/getStaticBindingsForScope.native.js.map +3 -3
- package/dist/cjs/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +3 -3
- package/dist/cjs/extractor/hoistClassNames.native.js +8 -10
- package/dist/cjs/extractor/hoistClassNames.native.js.map +3 -3
- package/dist/cjs/extractor/literalToAst.native.js +89 -19
- package/dist/cjs/extractor/literalToAst.native.js.map +3 -3
- package/dist/cjs/extractor/loadFile.native.js +16 -8
- package/dist/cjs/extractor/loadFile.native.js.map +3 -3
- package/dist/cjs/extractor/loadTamagui.js +3 -3
- package/dist/cjs/extractor/loadTamagui.js.map +1 -1
- package/dist/cjs/extractor/loadTamagui.native.js +667 -192
- package/dist/cjs/extractor/loadTamagui.native.js.map +3 -3
- package/dist/cjs/extractor/logLines.native.js +24 -6
- package/dist/cjs/extractor/logLines.native.js.map +3 -3
- package/dist/cjs/extractor/normalizeTernaries.native.js +71 -20
- package/dist/cjs/extractor/normalizeTernaries.native.js.map +3 -3
- package/dist/cjs/extractor/propsToFontFamilyCache.native.js +3 -3
- package/dist/cjs/extractor/propsToFontFamilyCache.native.js.map +3 -3
- package/dist/cjs/extractor/removeUnusedHooks.native.js +69 -36
- package/dist/cjs/extractor/removeUnusedHooks.native.js.map +3 -3
- package/dist/cjs/extractor/timer.native.js +10 -9
- package/dist/cjs/extractor/timer.native.js.map +3 -3
- package/dist/cjs/extractor/validHTMLAttributes.native.js +1 -1
- package/dist/cjs/extractor/validHTMLAttributes.native.js.map +3 -3
- package/dist/cjs/getPragmaOptions.native.js +4 -9
- package/dist/cjs/getPragmaOptions.native.js.map +3 -3
- package/dist/cjs/helpers/memoize.native.js +5 -3
- package/dist/cjs/helpers/memoize.native.js.map +3 -3
- package/dist/cjs/helpers/requireTamaguiCore.native.js +2 -1
- package/dist/cjs/helpers/requireTamaguiCore.native.js.map +3 -3
- package/dist/cjs/index.native.js.map +2 -2
- package/dist/cjs/minifyCSS.native.js.map +3 -3
- package/dist/cjs/registerRequire.native.js +56 -28
- package/dist/cjs/registerRequire.native.js.map +3 -3
- package/dist/cjs/server.native.js +175 -21
- package/dist/cjs/server.native.js.map +3 -3
- package/dist/cjs/setup.native.js.map +3 -3
- package/dist/cjs/static.native.js.map +2 -2
- package/dist/cjs/types.native.js.map +2 -2
- package/dist/cjs/webpackPlugin.native.js +26 -5
- package/dist/cjs/webpackPlugin.native.js.map +3 -3
- package/dist/esm/constants.native.js +4 -3
- package/dist/esm/constants.native.js.map +3 -3
- package/dist/esm/extractor/accessSafe.native.js +1 -5
- package/dist/esm/extractor/accessSafe.native.js.map +3 -3
- package/dist/esm/extractor/babelParse.native.js +5 -7
- package/dist/esm/extractor/babelParse.native.js.map +3 -3
- package/dist/esm/extractor/buildClassName.native.js +31 -41
- package/dist/esm/extractor/buildClassName.native.js.map +3 -3
- package/dist/esm/extractor/bundle.js +6 -4
- package/dist/esm/extractor/bundle.js.map +1 -1
- package/dist/esm/extractor/bundle.mjs +7 -5
- package/dist/esm/extractor/bundle.native.js +321 -56
- package/dist/esm/extractor/bundle.native.js.map +3 -3
- package/dist/esm/extractor/bundleConfig.native.js +499 -187
- package/dist/esm/extractor/bundleConfig.native.js.map +3 -3
- package/dist/esm/extractor/createEvaluator.native.js +9 -11
- package/dist/esm/extractor/createEvaluator.native.js.map +3 -3
- package/dist/esm/extractor/createExtractor.native.js +1241 -916
- package/dist/esm/extractor/createExtractor.native.js.map +3 -3
- package/dist/esm/extractor/ensureImportingConcat.native.js +11 -16
- package/dist/esm/extractor/ensureImportingConcat.native.js.map +3 -3
- package/dist/esm/extractor/esbuildAliasPlugin.native.js +22 -11
- package/dist/esm/extractor/esbuildAliasPlugin.native.js.map +3 -3
- package/dist/esm/extractor/evaluateAstNode.native.js +15 -21
- package/dist/esm/extractor/evaluateAstNode.native.js.map +3 -3
- package/dist/esm/extractor/extractHelpers.native.js +146 -38
- package/dist/esm/extractor/extractHelpers.native.js.map +3 -3
- package/dist/esm/extractor/extractMediaStyle.native.js +127 -54
- package/dist/esm/extractor/extractMediaStyle.native.js.map +3 -3
- package/dist/esm/extractor/extractToClassNames.native.js +449 -252
- package/dist/esm/extractor/extractToClassNames.native.js.map +3 -3
- package/dist/esm/extractor/findTopmostFunction.native.js +4 -4
- package/dist/esm/extractor/findTopmostFunction.native.js.map +3 -3
- package/dist/esm/extractor/generateTamaguiStudioConfig.native.js +415 -54
- package/dist/esm/extractor/generateTamaguiStudioConfig.native.js.map +3 -3
- package/dist/esm/extractor/generatedUid.native.js +2 -2
- package/dist/esm/extractor/generatedUid.native.js.map +3 -3
- package/dist/esm/extractor/getPrefixLogs.native.js +2 -1
- package/dist/esm/extractor/getPrefixLogs.native.js.map +3 -3
- package/dist/esm/extractor/getPropValueFromAttributes.native.js +16 -19
- package/dist/esm/extractor/getPropValueFromAttributes.native.js.map +3 -3
- package/dist/esm/extractor/getSourceModule.native.js +20 -7
- package/dist/esm/extractor/getSourceModule.native.js.map +3 -3
- package/dist/esm/extractor/getStaticBindingsForScope.native.js +336 -94
- package/dist/esm/extractor/getStaticBindingsForScope.native.js.map +3 -3
- package/dist/esm/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +3 -3
- package/dist/esm/extractor/hoistClassNames.native.js +8 -10
- package/dist/esm/extractor/hoistClassNames.native.js.map +3 -3
- package/dist/esm/extractor/literalToAst.native.js +89 -19
- package/dist/esm/extractor/literalToAst.native.js.map +3 -3
- package/dist/esm/extractor/loadFile.native.js +16 -8
- package/dist/esm/extractor/loadFile.native.js.map +3 -3
- package/dist/esm/extractor/loadTamagui.js +1 -2
- package/dist/esm/extractor/loadTamagui.js.map +1 -1
- package/dist/esm/extractor/loadTamagui.mjs +5 -3
- package/dist/esm/extractor/loadTamagui.native.js +668 -203
- package/dist/esm/extractor/loadTamagui.native.js.map +3 -3
- package/dist/esm/extractor/logLines.native.js +24 -6
- package/dist/esm/extractor/logLines.native.js.map +3 -3
- package/dist/esm/extractor/normalizeTernaries.native.js +71 -20
- package/dist/esm/extractor/normalizeTernaries.native.js.map +3 -3
- package/dist/esm/extractor/propsToFontFamilyCache.native.js +3 -3
- package/dist/esm/extractor/propsToFontFamilyCache.native.js.map +3 -3
- package/dist/esm/extractor/removeUnusedHooks.native.js +69 -35
- package/dist/esm/extractor/removeUnusedHooks.native.js.map +3 -3
- package/dist/esm/extractor/timer.native.js +10 -9
- package/dist/esm/extractor/timer.native.js.map +3 -3
- package/dist/esm/extractor/validHTMLAttributes.native.js +1 -1
- package/dist/esm/extractor/validHTMLAttributes.native.js.map +3 -3
- package/dist/esm/getPragmaOptions.native.js +4 -9
- package/dist/esm/getPragmaOptions.native.js.map +3 -3
- package/dist/esm/helpers/memoize.native.js +5 -3
- package/dist/esm/helpers/memoize.native.js.map +3 -3
- package/dist/esm/helpers/requireTamaguiCore.native.js +2 -1
- package/dist/esm/helpers/requireTamaguiCore.native.js.map +3 -3
- package/dist/esm/index.native.js.map +1 -1
- package/dist/esm/minifyCSS.native.js.map +3 -3
- package/dist/esm/registerRequire.native.js +56 -28
- package/dist/esm/registerRequire.native.js.map +3 -3
- package/dist/esm/server.native.js +175 -21
- package/dist/esm/server.native.js.map +3 -3
- package/dist/esm/setup.native.js.map +3 -3
- package/dist/esm/static.native.js.map +3 -3
- package/dist/esm/webpackPlugin.native.js +26 -5
- package/dist/esm/webpackPlugin.native.js.map +3 -3
- package/package.json +14 -15
- package/src/extractor/bundle.ts +5 -2
- package/src/extractor/loadTamagui.ts +3 -2
- package/types/extractor/bundle.d.ts.map +1 -1
- package/types/extractor/loadTamagui.d.ts.map +1 -1
- package/tamagui.tsconfig.json +0 -5
@@ -1,4 +1,5 @@
|
|
1
|
-
function requireTamaguiCore(platform
|
1
|
+
function requireTamaguiCore(platform) {
|
2
|
+
var ogRequire = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : require;
|
2
3
|
if (!platform)
|
3
4
|
throw new Error("No platform given to requireTamaguiCore");
|
4
5
|
return ogRequire(platform === "native" ? "@tamagui/core/native" : "@tamagui/core");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../../src/helpers/requireTamaguiCore.ts"],
|
4
|
-
"mappings": "AAIO,
|
5
|
-
"names": []
|
3
|
+
"sources": ["../../../src/helpers/Users/n8/tamagui/packages/static/src/helpers/requireTamaguiCore.ts"],
|
4
|
+
"mappings": "AAIO,SAASA,mBACdC,UAAyB;MACzBC,YAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAAsBC;AAEtB,MAAI,CAACF;AACH,UAAM,IAAIG,MAAO,yCAAA;AAEnB,SAAOF,UAAUD,aAAa,WAAW,yBAAyB,eAAA;AACpE;",
|
5
|
+
"names": ["requireTamaguiCore", "platform", "ogRequire", "require", "Error"]
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../src/minifyCSS.ts"],
|
4
|
-
"mappings": "AAAA,
|
5
|
-
"names": []
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/packages/static/src/minifyCSS.ts"],
|
4
|
+
"mappings": "AAAA,OAAOA,kBAAkB;AACzB,SAASC,uBAAuBC,iBAAiB;AAE1C,SAASC,UAAUC,OAAa;AACrC,SAAOF,UAAU;IACfG,UAAU;IACVC,MAAMC,OAAOC,KAAKJ,KAAAA;IAClBK,QAAQ;IACRC,SAAST,sBAAsBD,aAAa,SAAA,CAAA;IAC5CW,WAAW;EACb,CAAA;AACF;",
|
5
|
+
"names": ["browserslist", "browserslistToTargets", "transform", "minifyCSS", "input", "filename", "code", "Buffer", "from", "minify", "targets", "sourceMap"]
|
6
6
|
}
|
@@ -1,32 +1,59 @@
|
|
1
1
|
import { register } from "esbuild-register/dist/node";
|
2
2
|
import { requireTamaguiCore } from "./helpers/requireTamaguiCore";
|
3
3
|
import { esbuildIgnoreFilesRegex } from "./extractor/bundle";
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
function _define_property(obj, key, value) {
|
5
|
+
return key in obj ? Object.defineProperty(obj, key, {
|
6
|
+
value,
|
7
|
+
enumerable: !0,
|
8
|
+
configurable: !0,
|
9
|
+
writable: !0
|
10
|
+
}) : obj[key] = value, obj;
|
11
|
+
}
|
12
|
+
function _object_spread(target) {
|
13
|
+
for (var i = 1; i < arguments.length; i++) {
|
14
|
+
var source = arguments[i] != null ? arguments[i] : {}, ownKeys = Object.keys(source);
|
15
|
+
typeof Object.getOwnPropertySymbols == "function" && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
16
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
17
|
+
}))), ownKeys.forEach(function(key) {
|
18
|
+
_define_property(target, key, source[key]);
|
19
|
+
});
|
20
|
+
}
|
21
|
+
return target;
|
22
|
+
}
|
23
|
+
var _process_env_TAMAGUI_IGNORE_BUNDLE_ERRORS, nameToPaths = {}, Module = require("module"), getNameToPaths = function() {
|
24
|
+
return nameToPaths;
|
25
|
+
}, proxyWorm = require("@tamagui/proxy-worm"), rnw = require("react-native-web"), isRegistered = !1, og, whitelisted = {
|
7
26
|
react: !0
|
8
27
|
}, compiled = {};
|
9
28
|
function setRequireResult(name, result) {
|
10
29
|
compiled[name] = result;
|
11
30
|
}
|
12
|
-
function registerRequire(platform
|
13
|
-
proxyWormImports:
|
14
|
-
|
31
|
+
function registerRequire(platform) {
|
32
|
+
var proxyWormImports = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
33
|
+
proxyWormImports: !1
|
34
|
+
}).proxyWormImports;
|
15
35
|
if (isRegistered)
|
16
36
|
return {
|
17
37
|
tamaguiRequire: require,
|
18
|
-
unregister: ()
|
38
|
+
unregister: function() {
|
19
39
|
}
|
20
40
|
};
|
21
|
-
|
41
|
+
var unregister = register({
|
22
42
|
hookIgnoreNodeModules: !1
|
23
|
-
});
|
43
|
+
}).unregister;
|
24
44
|
og || (og = Module.prototype.require), isRegistered = !0, Module.prototype.require = tamaguiRequire;
|
25
45
|
function tamaguiRequire(path) {
|
46
|
+
var _this = this;
|
26
47
|
if (path === "tamagui" && platform === "native")
|
27
|
-
return og.apply(this, [
|
48
|
+
return og.apply(this, [
|
49
|
+
"tamagui/native"
|
50
|
+
]);
|
28
51
|
if (path === "@tamagui/core" || path === "@tamagui/web")
|
29
|
-
return requireTamaguiCore(platform, (path2)
|
52
|
+
return requireTamaguiCore(platform, function(path2) {
|
53
|
+
return og.apply(_this, [
|
54
|
+
path2
|
55
|
+
]);
|
56
|
+
});
|
30
57
|
if (path in compiled)
|
31
58
|
return compiled[path];
|
32
59
|
if (esbuildIgnoreFilesRegex.test(path))
|
@@ -40,36 +67,37 @@ function registerRequire(platform, { proxyWormImports } = {
|
|
40
67
|
if (path in knownIgnorableModules)
|
41
68
|
return proxyWorm;
|
42
69
|
if (!whitelisted[path] && proxyWormImports && !path.includes(".tamagui-dynamic-eval"))
|
43
|
-
return path === "tamagui" ? og.apply(this, [
|
70
|
+
return path === "tamagui" ? og.apply(this, [
|
71
|
+
path
|
72
|
+
]) : proxyWorm;
|
44
73
|
try {
|
45
|
-
|
74
|
+
var out = og.apply(this, arguments);
|
75
|
+
return out;
|
46
76
|
} catch (err) {
|
47
|
-
return !process.env.TAMAGUI_ENABLE_WARN_DYNAMIC_LOAD && path.includes("tamagui-dynamic-eval") ? void 0 : (allowedIgnores[path] || IGNORES === "true" || (!process.env.TAMAGUI_SHOW_FULL_BUNDLE_ERRORS && !process.env.DEBUG ? hasWarnedForModules.has(path) || (hasWarnedForModules.add(path), console.info(
|
48
|
-
` tamagui: skipping ${path} tamagui.dev/docs/intro/errors#warning-001`
|
49
|
-
)) : console.error(
|
50
|
-
`Tamagui failed loading "${path}"
|
77
|
+
return !process.env.TAMAGUI_ENABLE_WARN_DYNAMIC_LOAD && path.includes("tamagui-dynamic-eval") ? void 0 : (allowedIgnores[path] || IGNORES === "true" || (!process.env.TAMAGUI_SHOW_FULL_BUNDLE_ERRORS && !process.env.DEBUG ? hasWarnedForModules.has(path) || (hasWarnedForModules.add(path), console.info(" tamagui: skipping ".concat(path, " tamagui.dev/docs/intro/errors#warning-001"))) : console.error('Tamagui failed loading "'.concat(path, `"
|
51
78
|
|
52
|
-
|
53
|
-
|
79
|
+
`).concat(err.message, `
|
80
|
+
`).concat(err.stack, `
|
54
81
|
|
55
|
-
`
|
56
|
-
)), proxyWorm);
|
82
|
+
`))), proxyWorm);
|
57
83
|
}
|
58
84
|
}
|
59
85
|
return {
|
60
86
|
tamaguiRequire,
|
61
|
-
unregister: ()
|
87
|
+
unregister: function() {
|
62
88
|
unregister(), isRegistered = !1, Module.prototype.require = og;
|
63
89
|
}
|
64
90
|
};
|
65
91
|
}
|
66
|
-
|
67
|
-
var _a;
|
68
|
-
const extraIgnores = IGNORES === "true" ? [] : (_a = process.env.TAMAGUI_IGNORE_BUNDLE_ERRORS) == null ? void 0 : _a.split(","), knownIgnorableModules = {
|
92
|
+
var packageJson = require("react-native-web/package.json"), IGNORES = process.env.TAMAGUI_IGNORE_BUNDLE_ERRORS, extraIgnores = IGNORES === "true" ? [] : (_process_env_TAMAGUI_IGNORE_BUNDLE_ERRORS = process.env.TAMAGUI_IGNORE_BUNDLE_ERRORS) === null || _process_env_TAMAGUI_IGNORE_BUNDLE_ERRORS === void 0 ? void 0 : _process_env_TAMAGUI_IGNORE_BUNDLE_ERRORS.split(","), knownIgnorableModules = _object_spread({
|
69
93
|
"expo-modules": !0,
|
70
|
-
solito: !0
|
71
|
-
|
72
|
-
|
94
|
+
solito: !0
|
95
|
+
}, Object.fromEntries((extraIgnores == null ? void 0 : extraIgnores.map(function(k) {
|
96
|
+
return [
|
97
|
+
k,
|
98
|
+
!0
|
99
|
+
];
|
100
|
+
})) || [])), hasWarnedForModules = /* @__PURE__ */ new Set(), allowedIgnores = {
|
73
101
|
"expo-constants": !0,
|
74
102
|
"./ExpoHaptics": !0,
|
75
103
|
"./js/MaskedView": !0
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../src/registerRequire.ts"],
|
4
|
-
"mappings": "AAAA,
|
5
|
-
"names": ["path"]
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/packages/static/src/registerRequire.ts"],
|
4
|
+
"mappings": "AAAA,SAASA,gBAAgB;AAEzB,SAASC,0BAA0B;AAEnC,SAASC,+BAA+B;;;;;;;;;;;;;;;;;;;;IAiLZC,2CA/KtBC,cAAc,CAAC,GACfC,SAASC,QAAQ,QAAA,GAEVC,iBAAiB,WAAA;SAAMH;GAE9BI,YAAYF,QAAQ,qBAAA,GAEpBG,MAAMH,QAAQ,kBAAA,GAEhBI,eAAe,IACfC,IAEEC,cAAc;EAClBC,OAAO;AACT,GAEMC,WAAW,CAAC;AACX,SAASC,iBAAiBC,MAAcC,QAAW;AACxDH,WAASE,IAAAA,IAAQC;AACnB;AAEO,SAASC,gBACdC,UAAyB;MACvBC,oBAAF,UAAA,SAAA,KAAA,UAAA,CAAA,MAAA,SAAA,UAAA,CAAA,IAAuB;IACrBA,kBAAkB;EACpB,GAFEA;AAKF,MAAIV;AACF,WAAO;MACLW,gBAAgBf;MAChBgB,YAAY,WAAA;MAAO;IACrB;AAGF,MAAQA,aAAetB,SAAS;IAC9BuB,uBAAuB;EACzB,CAAA,EAFQD;AAIR,EAAKX,OACHA,KAAKN,OAAOmB,UAAUlB,UAGxBI,eAAe,IAEfL,OAAOmB,UAAUlB,UAAUe;AAE3B,WAASA,eAA0BI,MAAY;;AAC7C,QAAIA,SAAS,aAAaN,aAAa;AACrC,aAAOR,GAAGe,MAAM,MAAM;QAAC;OAAiB;AAG1C,QAAID,SAAS,mBAAmBA,SAAS;AACvC,aAAOxB,mBAAmBkB,UAAU,SAACM,OAAAA;AACnC,eAAOd,GAAGe,MAAK,OAAO;UAACD;SAAK;MAC9B,CAAA;AAGF,QAAIA,QAAQX;AACV,aAAOA,SAASW,IAAAA;AAGlB,QAAIvB,wBAAwByB,KAAKF,IAAAA;AAC/B,aAAO,CAAC;AAGV,QACEA,SAAS,0BACTA,KAAKG,WAAW,yBAAA,KAChBH,SAAS,0BACTA,SAAS,wBACTA,SAAS,6BACTA,SAAS;AAET,aAAOjB;AAET,QAAIiB,SAAS;AACX,aAAOI;AAGT,QAAIJ,SAAS,2BAA2BA,KAAKG,WAAW,cAAA;AACtD,aAAOnB;AAGT,QAAIgB,QAAQK;AACV,aAAOtB;AAGT,QAAI,CAACI,YAAYa,IAAAA,KACXL,oBAAoB,CAACK,KAAKM,SAAS,uBAAA;AACrC,aAAIN,SAAS,YACJd,GAAGe,MAAM,MAAM;QAACD;OAAK,IAEvBjB;AAIX,QAAI;AACF,UAAMwB,MAAMrB,GAAGe,MAAM,MAAMO,SAAAA;AAwB3B,aAAOD;IACT,SAASE,KAAU;AACjB,aACE,CAAC/B,QAAQgC,IAAIC,oCACbX,KAAKM,SAAS,sBAAA,IAGd,UAEEM,eAAeZ,IAAAA,KAASa,YAAY,WAE7B,CAACnC,QAAQgC,IAAII,mCAAmC,CAACpC,QAAQgC,IAAIK,QAClEC,oBAAoBC,IAAIjB,IAAAA,MAG1BgB,oBAAoBE,IAAIlB,IAAAA,GACxBmB,QAAQC,KACL,uBAA2B,OAALpB,MAAK,4CAAA,CAAA,KAShCmB,QAAQE,MACL,2BAEPZ,OAFiCT,MAAK;;GAAA,EAGtCS,OADAA,IAAIa,SAAQ;GAAA,EACF,OAAVb,IAAIc,OAAM;;GAAA,CAAA,IAMDxC;IACT;EACF;AAEA,SAAO;IACLa;IACAC,YAAY,WAAA;AACVA,iBAAAA,GACAZ,eAAe,IACfL,OAAOmB,UAAUlB,UAAUK;IAC7B;EACF;AACF;AAEA,IAAMkB,cAAcvB,QAAQ,+BAAA,GACtBgC,UAAUnC,QAAQgC,IAAIc,8BACtBC,eACJZ,YAAY,SAAS,CAAA,KAAKnC,4CAAAA,QAAQgC,IAAIc,kCAA4B,QAAxC9C,8CAAAA,SAAAA,SAAAA,0CAA0CgD,MAAM,GAAA,GACtErB,wBAAwB,eAAA;EAC5B,gBAAgB;EAChBsB,QAAQ;GACLC,OAAOC,aAAYJ,gBAAAA,OAAAA,SAAAA,aAAcK,IAAI,SAACC,GAAAA;SAAM;IAACA;IAAG;;OAAU,CAAA,CAAE,CAAA,GAG3Df,sBAAsB,oBAAIgB,IAAAA,GAE1BpB,iBAAiB;EACrB,kBAAkB;EAClB,iBAAiB;EACjB,mBAAmB;AACrB;",
|
5
|
+
"names": ["register", "requireTamaguiCore", "esbuildIgnoreFilesRegex", "process", "nameToPaths", "Module", "require", "getNameToPaths", "proxyWorm", "rnw", "isRegistered", "og", "whitelisted", "react", "compiled", "setRequireResult", "name", "result", "registerRequire", "platform", "proxyWormImports", "tamaguiRequire", "unregister", "hookIgnoreNodeModules", "prototype", "path", "apply", "test", "startsWith", "packageJson", "knownIgnorableModules", "includes", "out", "arguments", "err", "env", "TAMAGUI_ENABLE_WARN_DYNAMIC_LOAD", "allowedIgnores", "IGNORES", "TAMAGUI_SHOW_FULL_BUNDLE_ERRORS", "DEBUG", "hasWarnedForModules", "has", "add", "console", "info", "error", "message", "stack", "TAMAGUI_IGNORE_BUNDLE_ERRORS", "extraIgnores", "split", "solito", "Object", "fromEntries", "map", "k", "Set"]
|
6
6
|
}
|
@@ -1,29 +1,183 @@
|
|
1
1
|
import net from "node:net";
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
2
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
3
|
+
try {
|
4
|
+
var info = gen[key](arg), value = info.value;
|
5
|
+
} catch (error) {
|
6
|
+
reject(error);
|
7
|
+
return;
|
8
|
+
}
|
9
|
+
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
10
|
+
}
|
11
|
+
function _async_to_generator(fn) {
|
12
|
+
return function() {
|
13
|
+
var self = this, args = arguments;
|
14
|
+
return new Promise(function(resolve, reject) {
|
15
|
+
var gen = fn.apply(self, args);
|
16
|
+
function _next(value) {
|
17
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
18
|
+
}
|
19
|
+
function _throw(err) {
|
20
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
21
|
+
}
|
22
|
+
_next(void 0);
|
14
23
|
});
|
15
|
-
}
|
24
|
+
};
|
25
|
+
}
|
26
|
+
function _ts_generator(thisArg, body) {
|
27
|
+
var f, y, t, g, _ = {
|
28
|
+
label: 0,
|
29
|
+
sent: function() {
|
30
|
+
if (t[0] & 1)
|
31
|
+
throw t[1];
|
32
|
+
return t[1];
|
33
|
+
},
|
34
|
+
trys: [],
|
35
|
+
ops: []
|
36
|
+
};
|
37
|
+
return g = {
|
38
|
+
next: verb(0),
|
39
|
+
throw: verb(1),
|
40
|
+
return: verb(2)
|
41
|
+
}, typeof Symbol == "function" && (g[Symbol.iterator] = function() {
|
42
|
+
return this;
|
43
|
+
}), g;
|
44
|
+
function verb(n) {
|
45
|
+
return function(v) {
|
46
|
+
return step([
|
47
|
+
n,
|
48
|
+
v
|
49
|
+
]);
|
50
|
+
};
|
51
|
+
}
|
52
|
+
function step(op) {
|
53
|
+
if (f)
|
54
|
+
throw new TypeError("Generator is already executing.");
|
55
|
+
for (; _; )
|
56
|
+
try {
|
57
|
+
if (f = 1, y && (t = op[0] & 2 ? y.return : op[0] ? y.throw || ((t = y.return) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
58
|
+
return t;
|
59
|
+
switch (y = 0, t && (op = [
|
60
|
+
op[0] & 2,
|
61
|
+
t.value
|
62
|
+
]), op[0]) {
|
63
|
+
case 0:
|
64
|
+
case 1:
|
65
|
+
t = op;
|
66
|
+
break;
|
67
|
+
case 4:
|
68
|
+
return _.label++, {
|
69
|
+
value: op[1],
|
70
|
+
done: !1
|
71
|
+
};
|
72
|
+
case 5:
|
73
|
+
_.label++, y = op[1], op = [
|
74
|
+
0
|
75
|
+
];
|
76
|
+
continue;
|
77
|
+
case 7:
|
78
|
+
op = _.ops.pop(), _.trys.pop();
|
79
|
+
continue;
|
80
|
+
default:
|
81
|
+
if (t = _.trys, !(t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
82
|
+
_ = 0;
|
83
|
+
continue;
|
84
|
+
}
|
85
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
86
|
+
_.label = op[1];
|
87
|
+
break;
|
88
|
+
}
|
89
|
+
if (op[0] === 6 && _.label < t[1]) {
|
90
|
+
_.label = t[1], t = op;
|
91
|
+
break;
|
92
|
+
}
|
93
|
+
if (t && _.label < t[2]) {
|
94
|
+
_.label = t[2], _.ops.push(op);
|
95
|
+
break;
|
96
|
+
}
|
97
|
+
t[2] && _.ops.pop(), _.trys.pop();
|
98
|
+
continue;
|
99
|
+
}
|
100
|
+
op = body.call(thisArg, _);
|
101
|
+
} catch (e) {
|
102
|
+
op = [
|
103
|
+
6,
|
104
|
+
e
|
105
|
+
], y = 0;
|
106
|
+
} finally {
|
107
|
+
f = t = 0;
|
108
|
+
}
|
109
|
+
if (op[0] & 5)
|
110
|
+
throw op[1];
|
111
|
+
return {
|
112
|
+
value: op[0] ? op[1] : void 0,
|
113
|
+
done: !0
|
114
|
+
};
|
115
|
+
}
|
16
116
|
}
|
17
|
-
|
18
|
-
return
|
117
|
+
function startServer(options) {
|
118
|
+
return _startServer.apply(this, arguments);
|
119
|
+
}
|
120
|
+
function _startServer() {
|
121
|
+
return _startServer = _async_to_generator(function(options) {
|
122
|
+
var port, server;
|
123
|
+
return _ts_generator(this, function(_state) {
|
124
|
+
switch (_state.label) {
|
125
|
+
case 0:
|
126
|
+
return [
|
127
|
+
4,
|
128
|
+
getAvailablePort()
|
129
|
+
];
|
130
|
+
case 1:
|
131
|
+
return port = _state.sent(), server = net.createServer(), server.unref(), [
|
132
|
+
4,
|
133
|
+
new Promise(function(resolve, reject) {
|
134
|
+
server.on("error", reject), server.on("connection", function(conn) {
|
135
|
+
conn.on("data", function(data) {
|
136
|
+
console.info("got", data.toString());
|
137
|
+
});
|
138
|
+
}), server.listen({
|
139
|
+
port
|
140
|
+
}, function() {
|
141
|
+
var port2 = server.address().port;
|
142
|
+
server.close(function() {
|
143
|
+
resolve(port2);
|
144
|
+
});
|
145
|
+
});
|
146
|
+
})
|
147
|
+
];
|
148
|
+
case 2:
|
149
|
+
return _state.sent(), [
|
150
|
+
2
|
151
|
+
];
|
152
|
+
}
|
153
|
+
});
|
154
|
+
}), _startServer.apply(this, arguments);
|
155
|
+
}
|
156
|
+
function getAvailablePort() {
|
157
|
+
return _getAvailablePort.apply(this, arguments);
|
158
|
+
}
|
159
|
+
function _getAvailablePort() {
|
160
|
+
return _getAvailablePort = _async_to_generator(function() {
|
161
|
+
var port, _arguments = arguments;
|
162
|
+
return _ts_generator(this, function(_state) {
|
163
|
+
return port = _arguments.length > 0 && _arguments[0] !== void 0 ? _arguments[0] : 8089, [
|
164
|
+
2,
|
165
|
+
checkAvailablePort(port).catch(function() {
|
166
|
+
return getAvailablePort(port + 1);
|
167
|
+
})
|
168
|
+
];
|
169
|
+
});
|
170
|
+
}), _getAvailablePort.apply(this, arguments);
|
19
171
|
}
|
20
172
|
function checkAvailablePort(port) {
|
21
|
-
return new Promise((resolve, reject)
|
22
|
-
|
23
|
-
server.unref(), server.on("error", reject), server.listen({
|
24
|
-
|
25
|
-
|
26
|
-
|
173
|
+
return new Promise(function(resolve, reject) {
|
174
|
+
var server = net.createServer();
|
175
|
+
server.unref(), server.on("error", reject), server.listen({
|
176
|
+
port
|
177
|
+
}, function() {
|
178
|
+
var _$port = server.address().port;
|
179
|
+
server.close(function() {
|
180
|
+
resolve(_$port);
|
27
181
|
});
|
28
182
|
});
|
29
183
|
});
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../src/server.ts"],
|
4
|
-
"mappings": "AAEA,
|
5
|
-
"names": ["port"]
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/packages/static/src/server.ts"],
|
4
|
+
"mappings": "AAEA,OAAOA,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEhB,SAAsBC,YAAYC,SAAuB;SAAnCD,aAAAA,MAAAA,MAAAA,SAAAA;;SAAAA,eAAAA;AAAAA,wBAAf,oBAAA,SAA2BC,SAAuB;QACjDC,MACAC;;;;AADO,iBAAA;;YAAMC,iBAAAA;;;AAAbF,wBAAO,OAAA,KAAA,GACPC,SAASJ,IAAIM,aAAY,GAC/BF,OAAOG,MAAK,GAEZ;;YAAM,IAAIC,QAAQ,SAACC,SAASC,QAAAA;AAC1BN,qBAAOO,GAAG,SAASD,MAAAA,GACnBN,OAAOO,GAAG,cAAc,SAACC,MAAAA;AACvBA,qBAAKD,GAAG,QAAQ,SAACE,MAAAA;AACfC,0BAAQC,KAAK,OAAOF,KAAKG,SAAQ,CAAA;gBACnC,CAAA;cACF,CAAA,GACAZ,OAAOa,OAAO;gBAAEd;cAAK,GAAG,WAAA;AACtB,oBAAQA,QAASC,OAAOc,QAAO,EAAvBf;AACRC,uBAAOe,MAAM,WAAA;AACXV,0BAAQN,KAAAA;gBACV,CAAA;cACF,CAAA;YACF,CAAA;;;AAbA,wBAAA,KAAA;;;;;EAcF,CAAA,GAnBsBF,aAAAA,MAAAA,MAAAA,SAAAA;;SAqBPI,mBAAAA;SAAAA,kBAAAA,MAAAA,MAAAA,SAAAA;;SAAAA,oBAAAA;AAAAA,6BAAf,oBAAA,WAAA;QAAgCF;;AAAAA,oBAAAA,WAAAA,SAAAA,KAAAA,WAAAA,CAAAA,MAAAA,SAAAA,WAAAA,CAAAA,IAAO,MACrC;;QAAOiB,mBAAmBjB,IAAAA,EAAMkB,MAAM,WAAA;iBAAMhB,iBAAiBF,OAAO,CAAA;;;;EACtE,CAAA,GAFeE,kBAAAA,MAAAA,MAAAA,SAAAA;;AAIf,SAASe,mBAAmBjB,MAAY;AACtC,SAAO,IAAIK,QAAgB,SAACC,SAASC,QAAAA;AACnC,QAAMN,SAASJ,IAAIM,aAAY;AAC/BF,WAAOG,MAAK,GACZH,OAAOO,GAAG,SAASD,MAAAA,GAEnBN,OAAOa,OAAO;MAAEd;IAAK,GAAG,WAAA;AACtB,UAAQA,SAASC,OAAOc,QAAO,EAAvBf;AACRC,aAAOe,MAAM,WAAA;AACXV,gBAAQN,MAAAA;MACV,CAAA;IACF,CAAA;EACF,CAAA;AACF;",
|
5
|
+
"names": ["net", "startServer", "options", "port", "server", "getAvailablePort", "createServer", "unref", "Promise", "resolve", "reject", "on", "conn", "data", "console", "info", "toString", "listen", "address", "close", "checkAvailablePort", "catch"]
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../src/setup.ts"],
|
4
|
-
"mappings": "
|
5
|
-
"names": []
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/packages/static/src/setup.ts"],
|
4
|
+
"mappings": "AAAAA,QAAQC,IAAIC,YAAY;",
|
5
|
+
"names": ["process", "env", "IS_STATIC"]
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../src/static.ts"],
|
4
|
-
"mappings": "AAAA,cAAc;AACd,
|
5
|
-
"names": []
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/packages/static/src/static.ts"],
|
4
|
+
"mappings": "AAAA,cAAc;AACd,SAASA,uBAAuB;AAChC,SAASC,oBAAoB;AAC7B,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;",
|
5
|
+
"names": ["createExtractor", "literalToAst"]
|
6
6
|
}
|
@@ -1,10 +1,31 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
function _class_call_check(instance, Constructor) {
|
2
|
+
if (!(instance instanceof Constructor))
|
3
|
+
throw new TypeError("Cannot call a class as a function");
|
4
|
+
}
|
5
|
+
function _defineProperties(target, props) {
|
6
|
+
for (var i = 0; i < props.length; i++) {
|
7
|
+
var descriptor = props[i];
|
8
|
+
descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor);
|
6
9
|
}
|
7
10
|
}
|
11
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
12
|
+
return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
|
13
|
+
}
|
14
|
+
var pluginName = "TamaguiWebpackPlugin", TamaguiWebpackPlugin = /* @__PURE__ */ function() {
|
15
|
+
"use strict";
|
16
|
+
function TamaguiWebpackPlugin2() {
|
17
|
+
_class_call_check(this, TamaguiWebpackPlugin2);
|
18
|
+
}
|
19
|
+
return _create_class(TamaguiWebpackPlugin2, [
|
20
|
+
{
|
21
|
+
key: "apply",
|
22
|
+
value: function(compiler) {
|
23
|
+
compiler.hooks.run.tap(pluginName, function(compilation) {
|
24
|
+
});
|
25
|
+
}
|
26
|
+
}
|
27
|
+
]), TamaguiWebpackPlugin2;
|
28
|
+
}();
|
8
29
|
export {
|
9
30
|
TamaguiWebpackPlugin
|
10
31
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
|
-
"sources": ["../../src/webpackPlugin.ts"],
|
4
|
-
"mappings": "AAAA,
|
5
|
-
"names": []
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/packages/static/src/webpackPlugin.ts"],
|
4
|
+
"mappings": ";;;;;;;;;;;;;AAAA,IAAMA,aAAa,wBAENC,uBAAN,2BAAA;;WAAMA,wBAAAA;4BAAAA,qBAAAA;;uBAAAA,uBAAAA;;MACXC,KAAAA;aAAAA,SAAMC,UAAQ;AACZA,iBAASC,MAAMC,IAAIC,IAAIN,YAAY,SAACO,aAAAA;QAEpC,CAAA;MACF;;MALWN;;",
|
5
|
+
"names": ["pluginName", "TamaguiWebpackPlugin", "apply", "compiler", "hooks", "run", "tap", "compilation"]
|
6
6
|
}
|
package/package.json
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@tamagui/static",
|
3
|
-
"version": "1.89.
|
3
|
+
"version": "1.89.27-1708113113238",
|
4
4
|
"source": "src/index.ts",
|
5
5
|
"types": "./types/index.d.ts",
|
6
6
|
"main": "dist/cjs/index.js",
|
7
7
|
"module": "dist/esm/index.js",
|
8
8
|
"files": [
|
9
|
-
"tamagui.tsconfig.json",
|
10
9
|
"src",
|
11
10
|
"types",
|
12
11
|
"dist"
|
@@ -35,17 +34,17 @@
|
|
35
34
|
"@babel/runtime": "^7.23.2",
|
36
35
|
"@babel/traverse": "^7.23.3",
|
37
36
|
"@babel/types": "^7.23.3",
|
38
|
-
"@tamagui/build": "1.89.
|
39
|
-
"@tamagui/cli-color": "1.89.
|
40
|
-
"@tamagui/config-default": "1.89.
|
41
|
-
"@tamagui/core": "1.89.
|
42
|
-
"@tamagui/fake-react-native": "1.89.
|
43
|
-
"@tamagui/generate-themes": "1.89.
|
44
|
-
"@tamagui/helpers": "1.89.
|
45
|
-
"@tamagui/helpers-node": "1.89.
|
46
|
-
"@tamagui/proxy-worm": "1.89.
|
47
|
-
"@tamagui/shorthands": "1.89.
|
48
|
-
"@tamagui/types": "1.89.
|
37
|
+
"@tamagui/build": "1.89.27-1708113113238",
|
38
|
+
"@tamagui/cli-color": "1.89.27-1708113113238",
|
39
|
+
"@tamagui/config-default": "1.89.27-1708113113238",
|
40
|
+
"@tamagui/core": "1.89.27-1708113113238",
|
41
|
+
"@tamagui/fake-react-native": "1.89.27-1708113113238",
|
42
|
+
"@tamagui/generate-themes": "1.89.27-1708113113238",
|
43
|
+
"@tamagui/helpers": "1.89.27-1708113113238",
|
44
|
+
"@tamagui/helpers-node": "1.89.27-1708113113238",
|
45
|
+
"@tamagui/proxy-worm": "1.89.27-1708113113238",
|
46
|
+
"@tamagui/shorthands": "1.89.27-1708113113238",
|
47
|
+
"@tamagui/types": "1.89.27-1708113113238",
|
49
48
|
"babel-literal-to-ast": "^2.1.0",
|
50
49
|
"browserslist": "^4.22.2",
|
51
50
|
"esbuild": "^0.19.11",
|
@@ -56,8 +55,8 @@
|
|
56
55
|
"invariant": "^2.2.4",
|
57
56
|
"lodash": "^4.17.21",
|
58
57
|
"react-native-web": "^0.19.10",
|
59
|
-
"react-native-web-internals": "1.89.
|
60
|
-
"react-native-web-lite": "1.89.
|
58
|
+
"react-native-web-internals": "1.89.27-1708113113238",
|
59
|
+
"react-native-web-lite": "1.89.27-1708113113238"
|
61
60
|
},
|
62
61
|
"optionalDependencies": {
|
63
62
|
"lightningcss": "*"
|
package/src/extractor/bundle.ts
CHANGED
@@ -58,7 +58,6 @@ function getESBuildConfig(
|
|
58
58
|
if (process.env.DEBUG?.startsWith('tamagui')) {
|
59
59
|
console.info(`Building`, entryPoints)
|
60
60
|
}
|
61
|
-
const tsconfig = join(__dirname, '..', '..', '..', 'tamagui.tsconfig.json')
|
62
61
|
|
63
62
|
const resolvedEntryPoints = !resolvePlatformSpecificEntries
|
64
63
|
? entryPoints
|
@@ -83,7 +82,11 @@ function getESBuildConfig(
|
|
83
82
|
'.js',
|
84
83
|
],
|
85
84
|
platform: 'node',
|
86
|
-
|
85
|
+
tsconfigRaw: {
|
86
|
+
compilerOptions: {
|
87
|
+
jsx: 'react-jsx',
|
88
|
+
},
|
89
|
+
},
|
87
90
|
loader: esbuildLoaderConfig,
|
88
91
|
logLevel: 'warning',
|
89
92
|
plugins: [
|
@@ -2,7 +2,6 @@ import { readFileSync, writeFileSync } from 'fs'
|
|
2
2
|
import { basename, dirname, extname, join, relative, resolve } from 'path'
|
3
3
|
|
4
4
|
import { Color, colorLog } from '@tamagui/cli-color'
|
5
|
-
import { getDefaultTamaguiConfig } from '@tamagui/config-default'
|
6
5
|
import type { CLIResolvedOptions, CLIUserOptions, TamaguiOptions } from '@tamagui/types'
|
7
6
|
import type { TamaguiInternalConfig } from '@tamagui/web'
|
8
7
|
import esbuild from 'esbuild'
|
@@ -277,9 +276,11 @@ export function loadTamaguiSync({
|
|
277
276
|
}
|
278
277
|
|
279
278
|
const { createTamagui } = requireTamaguiCore(props.platform)
|
279
|
+
const { getDefaultTamaguiConfig } = require('@tamagui/config-default')
|
280
|
+
|
280
281
|
return {
|
281
282
|
components: [],
|
282
|
-
tamaguiConfig: createTamagui(getDefaultTamaguiConfig()),
|
283
|
+
tamaguiConfig: createTamagui(getDefaultTamaguiConfig()) as any,
|
283
284
|
nameToPaths: {},
|
284
285
|
}
|
285
286
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"bundle.d.ts","sourceRoot":"","sources":["../../src/extractor/bundle.ts"],"names":[],"mappings":"AAEA,OAAO,OAAO,MAAM,SAAS,CAAA;AAG7B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAI/C,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;CAuBtB,CAAA;AAQV,eAAO,MAAM,uBAAuB,QAAsD,CAAA;AAE1F;;GAEG;AAEH,KAAK,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,aAAa,CAAC,GAAG;IAChE,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,8BAA8B,CAAC,EAAE,OAAO,CAAA;CACzC,CAAA;
|
1
|
+
{"version":3,"file":"bundle.d.ts","sourceRoot":"","sources":["../../src/extractor/bundle.ts"],"names":[],"mappings":"AAEA,OAAO,OAAO,MAAM,SAAS,CAAA;AAG7B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAI/C,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;CAuBtB,CAAA;AAQV,eAAO,MAAM,uBAAuB,QAAsD,CAAA;AAE1F;;GAEG;AAEH,KAAK,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,aAAa,CAAC,GAAG;IAChE,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,8BAA8B,CAAC,EAAE,OAAO,CAAA;CACzC,CAAA;AAyFD,wBAAsB,MAAM,CAC1B,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,eAAe,EACzB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,sDAKjC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"loadTamagui.d.ts","sourceRoot":"","sources":["../../src/extractor/loadTamagui.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"loadTamagui.d.ts","sourceRoot":"","sources":["../../src/extractor/loadTamagui.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AASxF,OAAO,EACL,kBAAkB,EAInB,MAAM,gBAAgB,CAAA;AAiBvB,wBAAsB,WAAW,CAC/B,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,GAC/B,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAmDpC;AAiCD,wBAAgB,0BAA0B,CACxC,cAAc,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG,SAAS,kBA4BpD;AAGD,wBAAgB,eAAe,CAAC,EAC9B,YAAY,EACZ,QAAQ,EACR,GAAG,OAAO,EACX,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,GAAG,kBAAkB,CAiIrB;AAED,wBAAsB,UAAU,CAAC,EAC/B,IAAoB,EACpB,YAA8B,EAC9B,cAAc,EACd,IAAI,EACJ,KAAK,GACN,GAAE,OAAO,CAAC,cAAc,CAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC,CA6B5D;AAED,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,UAW5D;AA0BD,OAAO,EAAE,kBAAkB,EAAE,CAAA;AAE7B,wBAAsB,kBAAkB,CAAC,cAAc,EAAE,cAAc;;GAyCtE"}
|