@tamagui/static 1.135.7 → 1.136.1-1762547287708

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 (42) hide show
  1. package/dist/async-wrapper.js +94 -0
  2. package/dist/async-wrapper.js.map +6 -0
  3. package/dist/async-wrapper.mjs +113 -0
  4. package/dist/async-wrapper.mjs.map +1 -0
  5. package/dist/exports.js +17 -5
  6. package/dist/exports.js.map +2 -2
  7. package/dist/exports.mjs +23 -6
  8. package/dist/exports.mjs.map +1 -1
  9. package/dist/extractor/bundleConfig.js +1 -1
  10. package/dist/extractor/bundleConfig.js.map +1 -1
  11. package/dist/extractor/bundleConfig.mjs +4 -4
  12. package/dist/extractor/bundleConfig.mjs.map +1 -1
  13. package/dist/extractor/watchTamaguiConfig.js +3 -3
  14. package/dist/extractor/watchTamaguiConfig.js.map +1 -1
  15. package/dist/extractor/watchTamaguiConfig.mjs +4 -3
  16. package/dist/extractor/watchTamaguiConfig.mjs.map +1 -1
  17. package/dist/sync-wrapper.js +55 -0
  18. package/dist/sync-wrapper.js.map +6 -0
  19. package/dist/sync-wrapper.mjs +62 -0
  20. package/dist/sync-wrapper.mjs.map +1 -0
  21. package/dist/worker.js +65 -0
  22. package/dist/worker.js.map +6 -0
  23. package/dist/worker.mjs +84 -0
  24. package/dist/worker.mjs.map +1 -0
  25. package/package.json +18 -16
  26. package/src/async-wrapper.ts +149 -0
  27. package/src/exports.ts +30 -4
  28. package/src/extractor/bundleConfig.ts +4 -9
  29. package/src/extractor/watchTamaguiConfig.ts +3 -0
  30. package/src/sync-wrapper.ts +97 -0
  31. package/src/worker.ts +128 -0
  32. package/types/async-wrapper.d.ts +43 -0
  33. package/types/async-wrapper.d.ts.map +1 -0
  34. package/types/exports.d.ts +8 -4
  35. package/types/exports.d.ts.map +1 -1
  36. package/types/extractor/bundleConfig.d.ts +1 -1
  37. package/types/extractor/bundleConfig.d.ts.map +1 -1
  38. package/types/extractor/watchTamaguiConfig.d.ts.map +1 -1
  39. package/types/sync-wrapper.d.ts +23 -0
  40. package/types/sync-wrapper.d.ts.map +1 -0
  41. package/types/worker.d.ts +46 -0
  42. package/types/worker.d.ts.map +1 -0
@@ -0,0 +1,94 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: !0 });
9
+ }, __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from == "object" || typeof from == "function")
11
+ for (let key of __getOwnPropNames(from))
12
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
+ return to;
14
+ };
15
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
16
+ // If the importer is in node compatibility mode or this is not an ESM
17
+ // file that has been converted to a CommonJS file using a Babel-
18
+ // compatible transform (i.e. "__esModule" has not been set), then set
19
+ // "default" to the CommonJS "module.exports" for node compatibility.
20
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
21
+ mod
22
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
23
+ var async_wrapper_exports = {};
24
+ __export(async_wrapper_exports, {
25
+ clearWorkerCache: () => clearWorkerCache,
26
+ destroyPool: () => destroyPool,
27
+ extractToClassNames: () => extractToClassNames,
28
+ extractToNative: () => extractToNative,
29
+ getPoolStats: () => getPoolStats
30
+ });
31
+ module.exports = __toCommonJS(async_wrapper_exports);
32
+ var import_piscina = __toESM(require("piscina")), import_node_url = require("node:url"), import_node_path = require("node:path");
33
+ const import_meta = {}, getWorkerPath = () => typeof __filename < "u" ? (0, import_node_path.resolve)(__dirname, "worker.js") : typeof import_meta < "u" && import_meta.url ? (0, import_node_path.resolve)((0, import_node_path.dirname)((0, import_node_url.fileURLToPath)(import_meta.url)), "worker.js") : (0, import_node_path.resolve)(__dirname, "worker.js");
34
+ let piscinaPool = null;
35
+ function getPool() {
36
+ return piscinaPool || (piscinaPool = new import_piscina.default({
37
+ filename: getWorkerPath(),
38
+ // Single worker for state consistency and simpler caching
39
+ minThreads: 1,
40
+ maxThreads: 1,
41
+ idleTimeout: 6e4
42
+ // 60s - keep alive for config watching
43
+ })), piscinaPool;
44
+ }
45
+ async function extractToClassNames({
46
+ source,
47
+ sourcePath = "",
48
+ options,
49
+ shouldPrintDebug = !1
50
+ }) {
51
+ if (typeof source != "string")
52
+ throw new Error("`source` must be a string of javascript");
53
+ const task = {
54
+ type: "extractToClassNames",
55
+ source,
56
+ sourcePath,
57
+ options,
58
+ shouldPrintDebug
59
+ }, result = await getPool().run(task, { name: "runTask" });
60
+ if (!result.success)
61
+ throw new Error(`Worker error: ${result.error}${result.stack ? `
62
+ ${result.stack}` : ""}`);
63
+ return result.data;
64
+ }
65
+ async function extractToNative(sourceFileName, sourceCode, options) {
66
+ const task = {
67
+ type: "extractToNative",
68
+ sourceFileName,
69
+ sourceCode,
70
+ options
71
+ }, result = await getPool().run(task, { name: "runTask" });
72
+ if (!result.success)
73
+ throw new Error(`Worker error: ${result.error}${result.stack ? `
74
+ ${result.stack}` : ""}`);
75
+ return result.data;
76
+ }
77
+ async function clearWorkerCache() {
78
+ if (!piscinaPool) return;
79
+ const task = { type: "clearCache" };
80
+ await piscinaPool.run(task, { name: "runTask" });
81
+ }
82
+ async function destroyPool() {
83
+ piscinaPool && (await piscinaPool.destroy(), piscinaPool = null);
84
+ }
85
+ function getPoolStats() {
86
+ return piscinaPool ? {
87
+ threads: piscinaPool.threads.length,
88
+ queueSize: piscinaPool.queueSize,
89
+ completed: piscinaPool.completed,
90
+ duration: piscinaPool.duration,
91
+ utilization: piscinaPool.utilization
92
+ } : null;
93
+ }
94
+ //# sourceMappingURL=async-wrapper.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/async-wrapper.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,qBAAoB,6BACpB,kBAA8B,qBAC9B,mBAAiC;AAPjC,wBAcM,gBAAgB,MAEhB,OAAO,aAAe,UACjB,0BAAQ,WAAW,WAAW,IAGnC,OAAO,cAAgB,OAAe,YAAY,UAC7C,8BAAQ,8BAAQ,+BAAc,YAAY,GAAG,CAAC,GAAG,WAAW,QAG9D,0BAAQ,WAAW,WAAW;AAGvC,IAAI,cAA8B;AAKlC,SAAS,UAAmB;AAC1B,SAAK,gBACH,cAAc,IAAI,eAAAA,QAAQ;AAAA,IACxB,UAAU,cAAc;AAAA;AAAA,IAExB,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,aAAa;AAAA;AAAA,EACf,CAAC,IAEI;AACT;AAMA,eAAsB,oBAAoB;AAAA,EACxC;AAAA,EACA,aAAa;AAAA,EACb;AAAA,EACA,mBAAmB;AACrB,GAKsC;AACpC,MAAI,OAAO,UAAW;AACpB,UAAM,IAAI,MAAM,yCAAyC;AAG3D,QAAM,OAAmB;AAAA,IACvB,MAAM;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF,GAGM,SAAU,MADH,QAAQ,EACM,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAExD,MAAI,CAAC,OAAO;AACV,UAAM,IAAI,MAAM,iBAAiB,OAAO,KAAK,GAAG,OAAO,QAAQ;AAAA,EAAK,OAAO,KAAK,KAAK,EAAE,EAAE;AAG3F,SAAO,OAAO;AAChB;AAMA,eAAsB,gBACpB,gBACA,YACA,SAC0B;AAC1B,QAAM,OAAmB;AAAA,IACvB,MAAM;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,EACF,GAGM,SAAU,MADH,QAAQ,EACM,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAExD,MAAI,CAAC,OAAO;AACV,UAAM,IAAI,MAAM,iBAAiB,OAAO,KAAK,GAAG,OAAO,QAAQ;AAAA,EAAK,OAAO,KAAK,KAAK,EAAE,EAAE;AAG3F,SAAO,OAAO;AAChB;AAMA,eAAsB,mBAAkC;AACtD,MAAI,CAAC,YAAa;AAElB,QAAM,OAAmB,EAAE,MAAM,aAAa;AAC9C,QAAM,YAAY,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AACjD;AAMA,eAAsB,cAA6B;AACjD,EAAI,gBACF,MAAM,YAAY,QAAQ,GAC1B,cAAc;AAElB;AAKO,SAAS,eAAe;AAC7B,SAAK,cAGE;AAAA,IACL,SAAS,YAAY,QAAQ;AAAA,IAC7B,WAAW,YAAY;AAAA,IACvB,WAAW,YAAY;AAAA,IACvB,UAAU,YAAY;AAAA,IACtB,aAAa,YAAY;AAAA,EAC3B,IARS;AASX;",
5
+ "names": ["Piscina"]
6
+ }
@@ -0,0 +1,113 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf,
6
+ __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: !0
11
+ });
12
+ },
13
+ __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
26
+ value: mod,
27
+ enumerable: !0
28
+ }) : target, mod)),
29
+ __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
30
+ value: !0
31
+ }), mod);
32
+ var async_wrapper_exports = {};
33
+ __export(async_wrapper_exports, {
34
+ clearWorkerCache: () => clearWorkerCache,
35
+ destroyPool: () => destroyPool,
36
+ extractToClassNames: () => extractToClassNames,
37
+ extractToNative: () => extractToNative,
38
+ getPoolStats: () => getPoolStats
39
+ });
40
+ module.exports = __toCommonJS(async_wrapper_exports);
41
+ var import_piscina = __toESM(require("piscina")),
42
+ import_node_url = require("node:url"),
43
+ import_node_path = require("node:path");
44
+ const import_meta = {},
45
+ getWorkerPath = () => typeof __filename < "u" ? (0, import_node_path.resolve)(__dirname, "worker.js") : typeof import_meta < "u" && import_meta.url ? (0, import_node_path.resolve)((0, import_node_path.dirname)((0, import_node_url.fileURLToPath)(import_meta.url)), "worker.js") : (0, import_node_path.resolve)(__dirname, "worker.js");
46
+ let piscinaPool = null;
47
+ function getPool() {
48
+ return piscinaPool || (piscinaPool = new import_piscina.default({
49
+ filename: getWorkerPath(),
50
+ // Single worker for state consistency and simpler caching
51
+ minThreads: 1,
52
+ maxThreads: 1,
53
+ idleTimeout: 6e4
54
+ // 60s - keep alive for config watching
55
+ })), piscinaPool;
56
+ }
57
+ async function extractToClassNames({
58
+ source,
59
+ sourcePath = "",
60
+ options,
61
+ shouldPrintDebug = !1
62
+ }) {
63
+ if (typeof source != "string") throw new Error("`source` must be a string of javascript");
64
+ const task = {
65
+ type: "extractToClassNames",
66
+ source,
67
+ sourcePath,
68
+ options,
69
+ shouldPrintDebug
70
+ },
71
+ result = await getPool().run(task, {
72
+ name: "runTask"
73
+ });
74
+ if (!result.success) throw new Error(`Worker error: ${result.error}${result.stack ? `
75
+ ${result.stack}` : ""}`);
76
+ return result.data;
77
+ }
78
+ async function extractToNative(sourceFileName, sourceCode, options) {
79
+ const task = {
80
+ type: "extractToNative",
81
+ sourceFileName,
82
+ sourceCode,
83
+ options
84
+ },
85
+ result = await getPool().run(task, {
86
+ name: "runTask"
87
+ });
88
+ if (!result.success) throw new Error(`Worker error: ${result.error}${result.stack ? `
89
+ ${result.stack}` : ""}`);
90
+ return result.data;
91
+ }
92
+ async function clearWorkerCache() {
93
+ if (!piscinaPool) return;
94
+ const task = {
95
+ type: "clearCache"
96
+ };
97
+ await piscinaPool.run(task, {
98
+ name: "runTask"
99
+ });
100
+ }
101
+ async function destroyPool() {
102
+ piscinaPool && (await piscinaPool.destroy(), piscinaPool = null);
103
+ }
104
+ function getPoolStats() {
105
+ return piscinaPool ? {
106
+ threads: piscinaPool.threads.length,
107
+ queueSize: piscinaPool.queueSize,
108
+ completed: piscinaPool.completed,
109
+ duration: piscinaPool.duration,
110
+ utilization: piscinaPool.utilization
111
+ } : null;
112
+ }
113
+ //# sourceMappingURL=async-wrapper.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["async_wrapper_exports","__export","clearWorkerCache","destroyPool","extractToClassNames","extractToNative","getPoolStats","module","exports","__toCommonJS","import_piscina","__toESM","require","import_node_url","import_node_path","import_meta","getWorkerPath","__filename","resolve","__dirname","url","dirname","fileURLToPath","piscinaPool","getPool","default","filename","minThreads","maxThreads","idleTimeout","source","sourcePath","options","shouldPrintDebug","Error","task","type","result","run","name","success","error","stack","data","sourceFileName","sourceCode","destroy","threads","length","queueSize","completed","duration","utilization"],"sources":["../src/async-wrapper.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,qBAAA;AAAAC,QAAA,CAAAD,qBAAA;EAAAE,gBAAA,EAAAA,CAAA,KAAAA,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AAA;IACvBC,SAAA,EAAW3B,WAAA,CAAY2B,SAAA;IACvBC,QAAA,EAAU5B,WAAA,CAAY4B,QAAA;IACtBC,WAAA,EAAa7B,WAAA,CAAY6B;EAC3B,IARS;AASX","ignoreList":[]}
package/dist/exports.js CHANGED
@@ -14,21 +14,33 @@ var __export = (target, all) => {
14
14
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
15
  var exports_exports = {};
16
16
  __export(exports_exports, {
17
+ clearWorkerCache: () => import_async_wrapper.clearWorkerCache,
17
18
  createExtractor: () => import_createExtractor.createExtractor,
18
- literalToAst: () => import_literalToAst.literalToAst
19
+ destroyPool: () => import_async_wrapper.destroyPool,
20
+ esbuildWatchFiles: () => import_loadTamagui.esbuildWatchFiles,
21
+ extractToClassNames: () => import_async_wrapper.extractToClassNames,
22
+ extractToClassNamesLegacy: () => import_extractToClassNames.extractToClassNames,
23
+ extractToNative: () => import_async_wrapper.extractToNative,
24
+ extractToNativeLegacy: () => import_extractToNative2.extractToNative,
25
+ generateThemesAndLog: () => import_loadTamagui.generateThemesAndLog,
26
+ getBabelPlugin: () => import_extractToNative.getBabelPlugin,
27
+ getOptions: () => import_loadTamagui.getOptions,
28
+ getPoolStats: () => import_async_wrapper.getPoolStats,
29
+ literalToAst: () => import_literalToAst.literalToAst,
30
+ loadTamagui: () => import_loadTamagui2.loadTamagui,
31
+ loadTamaguiBuildConfigSync: () => import_loadTamagui.loadTamaguiBuildConfigSync,
32
+ loadTamaguiSync: () => import_loadTamagui2.loadTamaguiSync
19
33
  });
20
34
  module.exports = __toCommonJS(exports_exports);
21
35
  __reExport(exports_exports, require("./checkDeps"), module.exports);
22
36
  __reExport(exports_exports, require("./types"), module.exports);
23
- var import_createExtractor = require("./extractor/createExtractor"), import_literalToAst = require("./extractor/literalToAst");
37
+ var import_literalToAst = require("./extractor/literalToAst");
24
38
  __reExport(exports_exports, require("./constants"), module.exports);
25
- __reExport(exports_exports, require("./extractor/extractToClassNames"), module.exports);
26
39
  __reExport(exports_exports, require("./extractor/concatClassName"), module.exports);
27
- __reExport(exports_exports, require("./extractor/extractToNative"), module.exports);
28
40
  __reExport(exports_exports, require("./extractor/extractHelpers"), module.exports);
29
- __reExport(exports_exports, require("./extractor/loadTamagui"), module.exports);
30
41
  __reExport(exports_exports, require("./extractor/watchTamaguiConfig"), module.exports);
31
42
  __reExport(exports_exports, require("./extractor/createLogger"), module.exports);
32
43
  __reExport(exports_exports, require("./registerRequire"), module.exports);
33
44
  __reExport(exports_exports, require("./getPragmaOptions"), module.exports);
45
+ var import_async_wrapper = require("./async-wrapper"), import_extractToNative = require("./extractor/extractToNative"), import_loadTamagui = require("./extractor/loadTamagui"), import_createExtractor = require("./extractor/createExtractor"), import_extractToClassNames = require("./extractor/extractToClassNames"), import_extractToNative2 = require("./extractor/extractToNative"), import_loadTamagui2 = require("./extractor/loadTamagui");
34
46
  //# sourceMappingURL=exports.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/exports.ts"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAAc,wBAAd;AACA,4BAAc,oBADd;AAEA,6BAAgC,wCAChC,sBAA6B;AAC7B,4BAAc,wBAJd;AAKA,4BAAc,4CALd;AAMA,4BAAc,wCANd;AAOA,4BAAc,wCAPd;AAQA,4BAAc,uCARd;AASA,4BAAc,oCATd;AAUA,4BAAc,2CAVd;AAWA,4BAAc,qCAXd;AAYA,4BAAc,8BAZd;AAaA,4BAAc,+BAbd;",
5
- "names": []
4
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAAc,wBAAd;AACA,4BAAc,oBADd;AAEA,0BAA6B;AAC7B,4BAAc,wBAHd;AAIA,4BAAc,wCAJd;AAKA,4BAAc,uCALd;AAMA,4BAAc,2CANd;AAOA,4BAAc,qCAPd;AAQA,4BAAc,8BARd;AASA,4BAAc,+BATd;AAaA,2BAMO,4BAKP,yBAA+B,wCAG/B,qBAKO,oCAIP,yBAAgC,wCAChC,6BAAiE,4CACjEA,0BAAyD,wCACzDC,sBAA6C;",
5
+ "names": ["import_extractToNative", "import_loadTamagui"]
6
6
  }
package/dist/exports.mjs CHANGED
@@ -21,22 +21,39 @@ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
21
  }), mod);
22
22
  var exports_exports = {};
23
23
  __export(exports_exports, {
24
+ clearWorkerCache: () => import_async_wrapper.clearWorkerCache,
24
25
  createExtractor: () => import_createExtractor.createExtractor,
25
- literalToAst: () => import_literalToAst.literalToAst
26
+ destroyPool: () => import_async_wrapper.destroyPool,
27
+ esbuildWatchFiles: () => import_loadTamagui.esbuildWatchFiles,
28
+ extractToClassNames: () => import_async_wrapper.extractToClassNames,
29
+ extractToClassNamesLegacy: () => import_extractToClassNames.extractToClassNames,
30
+ extractToNative: () => import_async_wrapper.extractToNative,
31
+ extractToNativeLegacy: () => import_extractToNative2.extractToNative,
32
+ generateThemesAndLog: () => import_loadTamagui.generateThemesAndLog,
33
+ getBabelPlugin: () => import_extractToNative.getBabelPlugin,
34
+ getOptions: () => import_loadTamagui.getOptions,
35
+ getPoolStats: () => import_async_wrapper.getPoolStats,
36
+ literalToAst: () => import_literalToAst.literalToAst,
37
+ loadTamagui: () => import_loadTamagui2.loadTamagui,
38
+ loadTamaguiBuildConfigSync: () => import_loadTamagui.loadTamaguiBuildConfigSync,
39
+ loadTamaguiSync: () => import_loadTamagui2.loadTamaguiSync
26
40
  });
27
41
  module.exports = __toCommonJS(exports_exports);
28
42
  __reExport(exports_exports, require("./checkDeps.mjs"), module.exports);
29
43
  __reExport(exports_exports, require("./types.mjs"), module.exports);
30
- var import_createExtractor = require("./extractor/createExtractor.mjs"),
31
- import_literalToAst = require("./extractor/literalToAst.mjs");
44
+ var import_literalToAst = require("./extractor/literalToAst.mjs");
32
45
  __reExport(exports_exports, require("./constants.mjs"), module.exports);
33
- __reExport(exports_exports, require("./extractor/extractToClassNames.mjs"), module.exports);
34
46
  __reExport(exports_exports, require("./extractor/concatClassName.mjs"), module.exports);
35
- __reExport(exports_exports, require("./extractor/extractToNative.mjs"), module.exports);
36
47
  __reExport(exports_exports, require("./extractor/extractHelpers.mjs"), module.exports);
37
- __reExport(exports_exports, require("./extractor/loadTamagui.mjs"), module.exports);
38
48
  __reExport(exports_exports, require("./extractor/watchTamaguiConfig.mjs"), module.exports);
39
49
  __reExport(exports_exports, require("./extractor/createLogger.mjs"), module.exports);
40
50
  __reExport(exports_exports, require("./registerRequire.mjs"), module.exports);
41
51
  __reExport(exports_exports, require("./getPragmaOptions.mjs"), module.exports);
52
+ var import_async_wrapper = require("./async-wrapper.mjs"),
53
+ import_extractToNative = require("./extractor/extractToNative.mjs"),
54
+ import_loadTamagui = require("./extractor/loadTamagui.mjs"),
55
+ import_createExtractor = require("./extractor/createExtractor.mjs"),
56
+ import_extractToClassNames = require("./extractor/extractToClassNames.mjs"),
57
+ import_extractToNative2 = require("./extractor/extractToNative.mjs"),
58
+ import_loadTamagui2 = require("./extractor/loadTamagui.mjs");
42
59
  //# sourceMappingURL=exports.mjs.map
@@ -1 +1 @@
1
- {"version":3,"names":["exports_exports","__export","createExtractor","import_createExtractor","literalToAst","import_literalToAst","module","exports","__toCommonJS","__reExport","require"],"sources":["../src/exports.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,eAAA;AAAAC,QAAA,CAAAD,eAAA;EAAAE,eAAA,EAAAA,CAAA,KAAAC,sBAAA,CAAAD,eAAA;EAAAE,YAAA,EAAAA,CAAA,KAAAC,mBAAA,CAAAD;AAAA;AAAAE,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAR,eAAA;AAAAS,UAAA,CAAAT,eAAA,EAAcU,OAAA,qBAAdJ,MAAA,CAAAC,OAAA;AACAE,UAAA,CAAAT,eAAA,EAAcU,OAAA,iBADdJ,MAAA,CAAAC,OAAA;AAEA,IAAAJ,sBAAA,GAAgCO,OAAA;EAChCL,mBAAA,GAA6BK,OAAA;AAC7BD,UAAA,CAAAT,eAAA,EAAcU,OAAA,qBAJdJ,MAAA,CAAAC,OAAA;AAKAE,UAAA,CAAAT,eAAA,EAAcU,OAAA,yCALdJ,MAAA,CAAAC,OAAA;AAMAE,UAAA,CAAAT,eAAA,EAAcU,OAAA,qCANdJ,MAAA,CAAAC,OAAA;AAOAE,UAAA,CAAAT,eAAA,EAAcU,OAAA,qCAPdJ,MAAA,CAAAC,OAAA;AAQAE,UAAA,CAAAT,eAAA,EAAcU,OAAA,oCARdJ,MAAA,CAAAC,OAAA;AASAE,UAAA,CAAAT,eAAA,EAAcU,OAAA,iCATdJ,MAAA,CAAAC,OAAA;AAUAE,UAAA,CAAAT,eAAA,EAAcU,OAAA,wCAVdJ,MAAA,CAAAC,OAAA;AAWAE,UAAA,CAAAT,eAAA,EAAcU,OAAA,kCAXdJ,MAAA,CAAAC,OAAA;AAYAE,UAAA,CAAAT,eAAA,EAAcU,OAAA,2BAZdJ,MAAA,CAAAC,OAAA;AAaAE,UAAA,CAAAT,eAAA,EAAcU,OAAA,4BAbdJ,MAAA,CAAAC,OAAA","ignoreList":[]}
1
+ {"version":3,"names":["exports_exports","__export","clearWorkerCache","import_async_wrapper","createExtractor","import_createExtractor","destroyPool","esbuildWatchFiles","import_loadTamagui","extractToClassNames","extractToClassNamesLegacy","import_extractToClassNames","extractToNative","extractToNativeLegacy","import_extractToNative2","generateThemesAndLog","getBabelPlugin","import_extractToNative","getOptions","getPoolStats","literalToAst","import_literalToAst","loadTamagui","import_loadTamagui2","loadTamaguiBuildConfigSync","loadTamaguiSync","module","exports","__toCommonJS","__reExport","require"],"sources":["../src/exports.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,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AE,UAAA,CAAA7B,eAAA,EAAc8B,OAAA,qCAJdJ,MAAA,CAAAC,OAAA;AAKAE,UAAA,CAAA7B,eAAA,EAAc8B,OAAA,oCALdJ,MAAA,CAAAC,OAAA;AAMAE,UAAA,CAAA7B,eAAA,EAAc8B,OAAA,wCANdJ,MAAA,CAAAC,OAAA;AAOAE,UAAA,CAAA7B,eAAA,EAAc8B,OAAA,kCAPdJ,MAAA,CAAAC,OAAA;AAQAE,UAAA,CAAA7B,eAAA,EAAc8B,OAAA,2BARdJ,MAAA,CAAAC,OAAA;AASAE,UAAA,CAAA7B,eAAA,EAAc8B,OAAA,4BATdJ,MAAA,CAAAC,OAAA;AAaA,IAAAxB,oBAAA,GAMO2B,OAAA;EAKPb,sBAAA,GAA+Ba,OAAA;EAG/BtB,kBAAA,GAKOsB,OAAA;EAIPzB,sBAAA,GAAgCyB,OAAA;EAChCnB,0BAAA,GAAiEmB,OAAA;EACjEhB,uBAAA,GAAyDgB,OAAA;EACzDP,mBAAA,GAA6CO,OAAA","ignoreList":[]}
@@ -32,7 +32,7 @@ __export(bundleConfig_exports, {
32
32
  writeTamaguiCSS: () => writeTamaguiCSS
33
33
  });
34
34
  module.exports = __toCommonJS(bundleConfig_exports);
35
- var import_generator = __toESM(require("@babel/generator")), import_traverse = __toESM(require("@babel/traverse")), t = __toESM(require("@babel/types")), import_node_fs = require("node:fs"), import_node_path = require("node:path"), import_cli_color = require("@tamagui/cli-color"), import_esbuild = __toESM(require("esbuild")), FS = __toESM(require("fs-extra")), import_promises = require("node:fs/promises"), import_registerRequire = require("../registerRequire"), import_babelParse = require("./babelParse"), import_bundle = require("./bundle"), import_getTamaguiConfigPathFromOptionsConfig = require("./getTamaguiConfigPathFromOptionsConfig"), import_requireTamaguiCore = require("../helpers/requireTamaguiCore");
35
+ var import_generator = __toESM(require("@babel/generator")), import_traverse = __toESM(require("@babel/traverse")), t = __toESM(require("@babel/types")), import_cli_color = require("@tamagui/cli-color"), import_esbuild = __toESM(require("esbuild")), FS = __toESM(require("fs-extra")), import_node_fs = require("node:fs"), import_promises = require("node:fs/promises"), import_node_path = require("node:path"), import_requireTamaguiCore = require("../helpers/requireTamaguiCore"), import_registerRequire = require("../registerRequire"), import_babelParse = require("./babelParse"), import_bundle = require("./bundle"), import_getTamaguiConfigPathFromOptionsConfig = require("./getTamaguiConfigPathFromOptionsConfig");
36
36
  const external = [
37
37
  "@tamagui/core",
38
38
  "@tamagui/web",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/extractor/bundleConfig.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAqB,sCACrB,kBAAqB,qCACrB,IAAmB,kCACnB,iBAAyC,oBACzC,mBAAgE,sBAEhE,mBAAgC,+BAMhC,iBAAoB,6BACpB,KAAoB,8BACpB,kBAAyB,6BACzB,yBAAkD,+BAElD,oBAA2B,yBAC3B,gBAA2D,qBAC3D,+CAAsD,oDACtD,4BAAmC;AAuBnC,MAAM,WAAW;AAAA,EACf;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAEM,sBAAsB;AAAA,EAC1B,QAAQ;AAAA,IACN,SAAS,GAAG,QAAQ,IAAI,aAAa,aAAa;AAAA,EACpD;AACF,GAEa,iBAAiB;AAAA,EAC5B,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,KAAK;AAAA,EACL,UAAU;AAAA,EACV,GAAG;AACL;AAKA,IAAI,gBAAsC,MACtC,aAAa,IACb,aAAmC;AACvC,MAAM,gBAAgB,oBAAI,IAAc;AAEjC,SAAS,0BAA0B;AACxC,SAAI,eAAe,gBACV,MAET,aAAa,eACN;AACT;AAEA,IAAI,eAA6C;AAE1C,MAAM,kBAAkB,MAAM;AAErC,eAAsB,iBAAiB,OAAuB,UAAU,IAAO;AAC7E,MAAI;AACF,UAAM,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AAA,IACZ,oBAAoB,UAAU;AAE5B,UAAI,CAAC,EAAE,UAAU,SAAS,MAAM,EAAG;AACnC,YAAM,OAAO,SAAS,KAAK;AAC3B,UAAI,KAAK,SAAS,EAAG;AACrB,YAAM,CAAC,GAAG,IAAI;AACd,MAAK,EAAE,aAAa,IAAI,EAAE,KACrB,IAAI,SACL,UAAU,IAAI,IAAI,GAAG,IAAI,MAC7B,UAAU,IAAI,IAAI,GAAG,IAAI,GACzB,SAAS;AAAA,QACP,EAAE,uBAAuB,EAAE,oBAAoB,OAAO,CAAC,GAAG,CAAC,GAAG;AAAA,UAC5D,EAAE,gBAAgB,EAAE,WAAW,IAAI,GAAG,IAAI,GAAG,EAAE,WAAW,IAAI,GAAG,IAAI,CAAC;AAAA,QACxE,CAAC;AAAA,MACH;AAAA,IACF;AAAA,EACF,CAAC,OAGM,iBAAAC,SAAS,KAAY;AAAA,IAC1B,SAAS;AAAA,IACT,UAAU;AAAA,IACV,aAAa;AAAA,IACb,YAAY;AAAA,EACd,CAAC,EAAE;AACL;",
5
5
  "names": ["forceExports", "esbuild", "traverse", "generate"]
6
6
  }
@@ -44,17 +44,17 @@ module.exports = __toCommonJS(bundleConfig_exports);
44
44
  var import_generator = __toESM(require("@babel/generator")),
45
45
  import_traverse = __toESM(require("@babel/traverse")),
46
46
  t = __toESM(require("@babel/types")),
47
- import_node_fs = require("node:fs"),
48
- import_node_path = require("node:path"),
49
47
  import_cli_color = require("@tamagui/cli-color"),
50
48
  import_esbuild = __toESM(require("esbuild")),
51
49
  FS = __toESM(require("fs-extra")),
50
+ import_node_fs = require("node:fs"),
52
51
  import_promises = require("node:fs/promises"),
52
+ import_node_path = require("node:path"),
53
+ import_requireTamaguiCore = require("../helpers/requireTamaguiCore.mjs"),
53
54
  import_registerRequire = require("../registerRequire.mjs"),
54
55
  import_babelParse = require("./babelParse.mjs"),
55
56
  import_bundle = require("./bundle.mjs"),
56
- import_getTamaguiConfigPathFromOptionsConfig = require("./getTamaguiConfigPathFromOptionsConfig.mjs"),
57
- import_requireTamaguiCore = require("../helpers/requireTamaguiCore.mjs");
57
+ import_getTamaguiConfigPathFromOptionsConfig = require("./getTamaguiConfigPathFromOptionsConfig.mjs");
58
58
  const external = ["@tamagui/core", "@tamagui/web", "react", "react-dom", "react-native-svg"],
59
59
  esbuildExtraOptions = {
60
60
  define: {
@@ -1 +1 @@
1
- {"version":3,"names":["bundleConfig_exports","__export","bundleConfig","esbuildOptions","getBundledConfig","getLoadedConfig","hasBundledConfigChanged","loadComponents","loadComponentsInner","writeTamaguiCSS","module","exports","__toCommonJS","import_generator","__toESM","require","import_traverse","t","import_node_fs","import_node_path","import_cli_color","import_esbuild","FS","import_promises","import_registerRequire","import_babelParse","import_bundle","import_getTamaguiConfigPathFromOptionsConfig","import_requireTamaguiCore","external","esbuildExtraOptions","define","__DEV__","process","env","NODE_ENV","target","format","jsx","platform","currentBundle","isBundling","lastBundle","waitForBundle","Set","loadedConfig","props","rebuild","Promise","res","add","global","tamaguiLastLoaded","updateLastLoaded","config","Date","now","tamaguiLastBundledConfig","hasBundledOnce","configEntry","getTamaguiConfigPathFromOptionsConfig","tmpDir","join","cwd","configOutPath","baseComponents","components","filter","x","componentOutPaths","map","componentModule","split","sep","replace","DEBUG","startsWith","console","info","disableInitialBuild","ensureDir","start","all","esbundleTamaguiConfig","entryPoints","outfile","i","resolvePlatformSpecificEntries","colorLog","Color","FgYellow","Dim","relative","p","out","unregister","registerRequire","key","cache","test","err","default","tokens","Error","parsed","createTamagui","requireTamaguiCore","outputCSS","component","moduleName","indexOf","includes","IS_TAMAGUI_DEV","warn","JSON","stringify","nameToPaths","tamaguiConfig","error","message","stack","forEach","cb","clear","flush","writeFile","css","getCSS","existsSync","readFile","forceExports","coreComponents","getCoreComponents","otherComponents","loaded","componentsModules","cacheComponents","proxyWormImports","flatMap","name","isDynamic","extname","fileContents","readFileSync","loadModule","dirname","basename","writtenContents","didBabel","attemptLoad","forceExports2","transformAddExports","babelParse","esbuildit","writeFileSync","buildSync","alias","resolve","bundle","packages","allowOverwrite","sourcemap","loader","esbuildLoaderConfig","moduleResult","setRequireResult","nameToInfo","getComponentStaticConfigByName","interopDefaultExport","dispose","removeSync","TAMAGUI_ENABLE_WARN_DYNAMIC_LOAD","src","transformSync","code","exported","Array","isArray","found","getTamaguiComponent","Component","sc","staticConfig","toUpperCase","mod","ast","usedNames","ExportNamedDeclaration","nodePath","node","specifiers","spec","isIdentifier","value","VariableDeclaration","isProgram","parent","decs","declarations","length","dec","id","init","has","replaceWith","exportNamedDeclaration","variableDeclaration","exportSpecifier","identifier","concise","filename","retainLines","sourceMaps"],"sources":["../../src/extractor/bundleConfig.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,oBAAA;AAAAC,QAAA,CAAAD,oBAAA;EAAAE,YAAA,EAAAA,CAAA,KAAAA,YAAA;EAAAC,cAAA,EAAAA,CAAA,KAAAA,cAAA;EAAAC,gBAAA,EAAAA,CAAA,KAAAA,gBAAA;EAAAC,eAAA,EAAAA,CAAA,KAAAA,eAAA;EAAAC,uBAAA,EAAAA,CAAA,KAAAA,uBAAA;EAAAC,cAAA,EAAAA,CAAA,KAAAA,cAAA;EAAAC,mBAAA,EAAAA,CAAA,KAAAA,mBAAA;EAAAC,eAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAZ,oBAAA;AAAA,IAAAa,gBAAA,GAAqBC,OAAA,CAAAC,OAAA;EACrBC,eAAA,GAAqBF,OAAA,CAAAC,OAAA;EACrBE,CAAA,GAAmBH,OAAA,CAAAC,OAAA;EACnBG,cAAA,GAAyCH,OAAA;EACzCI,gBAAA,GAAgEJ,OAAA;EAEhEK,gBAAA,GAAgCL,OAAA;EAMhCM,cAAA,GAAoBP,OAAA,CAAAC,OAAA;EACpBO,EAAA,GAAoBR,OAAA,CAAAC,OAAA;EACpBQ,eAAA,GAAyBR,OAAA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C3B,IAAID,IAAA,CAAKE,MAAA,GAAS,GAAG;MACrB,MAAM,CAACC,GAAG,IAAIH,IAAA;MACTpL,CAAA,CAAE+K,YAAA,CAAaQ,GAAA,CAAIC,EAAE,KACrBD,GAAA,CAAIE,IAAA,KACLhB,SAAA,CAAUiB,GAAA,CAAIH,GAAA,CAAIC,EAAA,CAAG9D,IAAI,MAC7B+C,SAAA,CAAUxI,GAAA,CAAIsJ,GAAA,CAAIC,EAAA,CAAG9D,IAAI,GACzBiD,QAAA,CAASgB,WAAA,CACP3L,CAAA,CAAE4L,sBAAA,CAAuB5L,CAAA,CAAE6L,mBAAA,CAAoB,OAAO,CAACN,GAAG,CAAC,GAAG,CAC5DvL,CAAA,CAAE8L,eAAA,CAAgB9L,CAAA,CAAE+L,UAAA,CAAWR,GAAA,CAAIC,EAAA,CAAG9D,IAAI,GAAG1H,CAAA,CAAE+L,UAAA,CAAWR,GAAA,CAAIC,EAAA,CAAG9D,IAAI,CAAC,EACvE,CACH;IACF;EACF,CAAC,OAGM9H,gBAAA,CAAAwF,OAAA,EAASoF,GAAA,EAAY;IAC1BwB,OAAA,EAAS;IACTC,QAAA,EAAU;IACVC,WAAA,EAAa;IACbC,UAAA,EAAY;EACd,CAAC,EAAEtC,IAAA;AACL","ignoreList":[]}
1
+ {"version":3,"names":["bundleConfig_exports","__export","bundleConfig","esbuildOptions","getBundledConfig","getLoadedConfig","hasBundledConfigChanged","loadComponents","loadComponentsInner","writeTamaguiCSS","module","exports","__toCommonJS","import_generator","__toESM","require","import_traverse","t","import_cli_color","import_esbuild","FS","import_node_fs","import_promises","import_node_path","import_requireTamaguiCore","import_registerRequire","import_babelParse","import_bundle","import_getTamaguiConfigPathFromOptionsConfig","external","esbuildExtraOptions","define","__DEV__","process","env","NODE_ENV","target","format","jsx","platform","currentBundle","isBundling","lastBundle","waitForBundle","Set","loadedConfig","props","rebuild","Promise","res","add","global","tamaguiLastLoaded","updateLastLoaded","config","Date","now","tamaguiLastBundledConfig","hasBundledOnce","configEntry","getTamaguiConfigPathFromOptionsConfig","tmpDir","join","cwd","configOutPath","baseComponents","components","filter","x","componentOutPaths","map","componentModule","split","sep","replace","DEBUG","startsWith","console","info","disableInitialBuild","ensureDir","start","all","esbundleTamaguiConfig","entryPoints","outfile","i","resolvePlatformSpecificEntries","colorLog","Color","FgYellow","Dim","relative","p","out","unregister","registerRequire","key","cache","test","err","default","tokens","Error","parsed","createTamagui","requireTamaguiCore","outputCSS","component","moduleName","indexOf","includes","IS_TAMAGUI_DEV","warn","JSON","stringify","nameToPaths","tamaguiConfig","error","message","stack","forEach","cb","clear","flush","writeFile","css","getCSS","existsSync","readFile","forceExports","coreComponents","getCoreComponents","otherComponents","loaded","componentsModules","cacheComponents","proxyWormImports","flatMap","name","isDynamic","extname","fileContents","readFileSync","loadModule","dirname","basename","writtenContents","didBabel","attemptLoad","forceExports2","transformAddExports","babelParse","esbuildit","writeFileSync","buildSync","alias","resolve","bundle","packages","allowOverwrite","sourcemap","loader","esbuildLoaderConfig","moduleResult","setRequireResult","nameToInfo","getComponentStaticConfigByName","interopDefaultExport","dispose","removeSync","TAMAGUI_ENABLE_WARN_DYNAMIC_LOAD","src","transformSync","code","exported","Array","isArray","found","getTamaguiComponent","Component","sc","staticConfig","toUpperCase","mod","ast","usedNames","ExportNamedDeclaration","nodePath","node","specifiers","spec","isIdentifier","value","VariableDeclaration","isProgram","parent","decs","declarations","length","dec","id","init","has","replaceWith","exportNamedDeclaration","variableDeclaration","exportSpecifier","identifier","concise","filename","retainLines","sourceMaps"],"sources":["../../src/extractor/bundleConfig.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,oBAAA;AAAAC,QAAA,CAAAD,oBAAA;EAAAE,YAAA,EAAAA,CAAA,KAAAA,YAAA;EAAAC,cAAA,EAAAA,CAAA,KAAAA,cAAA;EAAAC,gBAAA,EAAAA,CAAA,KAAAA,gBAAA;EAAAC,eAAA,EAAAA,C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,EAAY;IAC1BwB,OAAA,EAAS;IACTC,QAAA,EAAU;IACVC,WAAA,EAAa;IACbC,UAAA,EAAY;EACd,CAAC,EAAEtC,IAAA;AACL","ignoreList":[]}
@@ -17,7 +17,7 @@ __export(watchTamaguiConfig_exports, {
17
17
  watchTamaguiConfig: () => watchTamaguiConfig
18
18
  });
19
19
  module.exports = __toCommonJS(watchTamaguiConfig_exports);
20
- var import_loadTamagui = require("./loadTamagui"), import_regenerateConfig = require("./regenerateConfig");
20
+ var import_async_wrapper = require("../async-wrapper"), import_loadTamagui = require("./loadTamagui"), import_regenerateConfig = require("./regenerateConfig");
21
21
  let isWatching = !1;
22
22
  async function watchTamaguiConfig(tamaguiOptions) {
23
23
  if (process.env.NODE_ENV === "production")
@@ -34,7 +34,7 @@ async function watchTamaguiConfig(tamaguiOptions) {
34
34
  const disposeConfigWatcher = await (0, import_loadTamagui.esbuildWatchFiles)(
35
35
  options.tamaguiOptions.config,
36
36
  async () => {
37
- await (0, import_loadTamagui.generateThemesAndLog)(options.tamaguiOptions), await (0, import_regenerateConfig.regenerateConfig)(options.tamaguiOptions, null, !0);
37
+ await (0, import_async_wrapper.clearWorkerCache)(), await (0, import_loadTamagui.generateThemesAndLog)(options.tamaguiOptions), await (0, import_regenerateConfig.regenerateConfig)(options.tamaguiOptions, null, !0);
38
38
  }
39
39
  ), themeBuilderInput = options.tamaguiOptions.themeBuilder?.input;
40
40
  let disposeThemesWatcher;
@@ -45,7 +45,7 @@ async function watchTamaguiConfig(tamaguiOptions) {
45
45
  } catch {
46
46
  }
47
47
  disposeThemesWatcher = await (0, import_loadTamagui.esbuildWatchFiles)(inputPath, async () => {
48
- await (0, import_loadTamagui.generateThemesAndLog)(options.tamaguiOptions);
48
+ await (0, import_async_wrapper.clearWorkerCache)(), await (0, import_loadTamagui.generateThemesAndLog)(options.tamaguiOptions);
49
49
  });
50
50
  }
51
51
  return {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../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+BAAW,EAAE,eAAe,CAAC;AAEnD,MAAI,CAAC,QAAQ,eAAe;AAC1B,uBAAa,IACP,IAAI,MAAM,WAAW;AAG7B,QAAM,uBAAuB,UAAM;AAAA,IACjC,QAAQ,eAAe;AAAA,IACvB,YAAY;AACV,gBAAM,uCAAiB,GACvB,UAAM,yCAAqB,QAAQ,cAAc,GACjD,UAAM,0CAAiB,QAAQ,gBAAgB,MAAM,EAAI;AAAA,IAC3D;AAAA,EACF,GAEM,oBAAoB,QAAQ,eAAe,cAAc;AAC/D,MAAI;AAEJ,MAAI,mBAAmB;AACrB,QAAI,YAAY;AAChB,QAAI;AACF,kBAAY,QAAQ,QAAQ,iBAAiB;AAAA,IAC/C,QAAQ;AAAA,IAER;AACA,2BAAuB,UAAM,sCAAkB,WAAW,YAAY;AACpE,gBAAM,uCAAiB,GACvB,UAAM,yCAAqB,QAAQ,cAAc;AAAA,IACnD,CAAC;AAAA,EACH;AAEA,SAAO;AAAA,IACL,UAAU;AACR,mBAAa,IACb,qBAAqB,GACrB,uBAAuB;AAAA,IACzB;AAAA,EACF;AACF;",
5
5
  "names": []
6
6
  }
@@ -23,7 +23,8 @@ __export(watchTamaguiConfig_exports, {
23
23
  watchTamaguiConfig: () => watchTamaguiConfig
24
24
  });
25
25
  module.exports = __toCommonJS(watchTamaguiConfig_exports);
26
- var import_loadTamagui = require("./loadTamagui.mjs"),
26
+ var import_async_wrapper = require("../async-wrapper.mjs"),
27
+ import_loadTamagui = require("./loadTamagui.mjs"),
27
28
  import_regenerateConfig = require("./regenerateConfig.mjs");
28
29
  let isWatching = !1;
29
30
  async function watchTamaguiConfig(tamaguiOptions) {
@@ -37,7 +38,7 @@ async function watchTamaguiConfig(tamaguiOptions) {
37
38
  });
38
39
  if (!options.tamaguiOptions.config) throw isWatching = !1, new Error("No config");
39
40
  const disposeConfigWatcher = await (0, import_loadTamagui.esbuildWatchFiles)(options.tamaguiOptions.config, async () => {
40
- await (0, import_loadTamagui.generateThemesAndLog)(options.tamaguiOptions), await (0, import_regenerateConfig.regenerateConfig)(options.tamaguiOptions, null, !0);
41
+ await (0, import_async_wrapper.clearWorkerCache)(), await (0, import_loadTamagui.generateThemesAndLog)(options.tamaguiOptions), await (0, import_regenerateConfig.regenerateConfig)(options.tamaguiOptions, null, !0);
41
42
  }),
42
43
  themeBuilderInput = options.tamaguiOptions.themeBuilder?.input;
43
44
  let disposeThemesWatcher;
@@ -47,7 +48,7 @@ async function watchTamaguiConfig(tamaguiOptions) {
47
48
  inputPath = require.resolve(themeBuilderInput);
48
49
  } catch {}
49
50
  disposeThemesWatcher = await (0, import_loadTamagui.esbuildWatchFiles)(inputPath, async () => {
50
- await (0, import_loadTamagui.generateThemesAndLog)(options.tamaguiOptions);
51
+ await (0, import_async_wrapper.clearWorkerCache)(), await (0, import_loadTamagui.generateThemesAndLog)(options.tamaguiOptions);
51
52
  });
52
53
  }
53
54
  return {
@@ -1 +1 @@
1
- {"version":3,"names":["watchTamaguiConfig_exports","__export","watchTamaguiConfig","module","exports","__toCommonJS","import_loadTamagui","require","import_regenerateConfig","isWatching","tamaguiOptions","process","env","NODE_ENV","dispose","options","getOptions","config","Error","disposeConfigWatcher","esbuildWatchFiles","generateThemesAndLog","regenerateConfig","themeBuilderInput","themeBuilder","input","disposeThemesWatcher","inputPath","resolve"],"sources":["../../src/extractor/watchTamaguiConfig.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,0BAAA;AAAAC,QAAA,CAAAD,0BAAA;EAAAE,kBAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAL,0BAAA;AACA,IAAAM,kBAAA,GAAoEC,OAAA;EACpEC,uBAAA,GAAiCD,OAAA;AAEjC,IAAIE,UAAA,GAAa;AAEjB,eAAsBP,mBAAmBQ,cAAA,EAAgC;EACvE,IAAIC,OAAA,CAAQC,GAAA,CAAIC,QAAA,KAAa,cAC3B,OAAO;IACLC,QAAA,EAAU,CAAC;EACb;EAGF,IAAIL,UAAA,EACF;EAGFA,UAAA,GAAa;EAEb,MAAMM,OAAA,GAAU,UAAMT,kBAAA,CAAAU,UAAA,EAAW;IAAEN;EAAe,CAAC;EAEnD,IAAI,CAACK,OAAA,CAAQL,cAAA,CAAeO,MAAA,EAC1B,MAAAR,UAAA,GAAa,IACP,IAAIS,KAAA,CAAM,WAAW;EAG7B,MAAMC,oBAAA,GAAuB,UAAMb,kBAAA,CAAAc,iBAAA,EACjCL,OAAA,CAAQL,cAAA,CAAeO,MAAA,EACvB,YAAY;MACV,UAAMX,kBAAA,CAAAe,oBAAA,EAAqBN,OAAA,CAAQL,cAAc,GACjD,UAAMF,uBAAA,CAAAc,gBAAA,EAAiBP,OAAA,CAAQL,cAAA,EAAgB,MAAM,EAAI;IAC3D,CACF;IAEMa,iBAAA,GAAoBR,OAAA,CAAQL,cAAA,CAAec,YAAA,EAAcC,KAAA;EAC/D,IAAIC,oBAAA;EAEJ,IAAIH,iBAAA,EAAmB;IACrB,IAAII,SAAA,GAAYJ,iBAAA;IAChB,IAAI;MACFI,SAAA,GAAYpB,OAAA,CAAQqB,OAAA,CAAQL,iBAAiB;IAC/C,QAAQ,CAER;IACAG,oBAAA,GAAuB,UAAMpB,kBAAA,CAAAc,iBAAA,EAAkBO,SAAA,EAAW,YAAY;MACpE,UAAMrB,kBAAA,CAAAe,oBAAA,EAAqBN,OAAA,CAAQL,cAAc;IACnD,CAAC;EACH;EAEA,OAAO;IACLI,QAAA,EAAU;MACRL,UAAA,GAAa,IACbU,oBAAA,CAAqB,GACrBO,oBAAA,GAAuB;IACzB;EACF;AACF","ignoreList":[]}
1
+ {"version":3,"names":["watchTamaguiConfig_exports","__export","watchTamaguiConfig","module","exports","__toCommonJS","import_async_wrapper","require","import_loadTamagui","import_regenerateConfig","isWatching","tamaguiOptions","process","env","NODE_ENV","dispose","options","getOptions","config","Error","disposeConfigWatcher","esbuildWatchFiles","clearWorkerCache","generateThemesAndLog","regenerateConfig","themeBuilderInput","themeBuilder","input","disposeThemesWatcher","inputPath","resolve"],"sources":["../../src/extractor/watchTamaguiConfig.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,0BAAA;AAAAC,QAAA,CAAAD,0BAAA;EAAAE,kBAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAL,0BAAA;AACA,IAAAM,oBAAA,GAAiCC,OAAA;EACjCC,kBAAA,GAAoED,OAAA;EACpEE,uBAAA,GAAiCF,OAAA;AAEjC,IAAIG,UAAA,GAAa;AAEjB,eAAsBR,mBAAmBS,cAAA,EAAgC;EACvE,IAAIC,OAAA,CAAQC,GAAA,CAAIC,QAAA,KAAa,cAC3B,OAAO;IACLC,QAAA,EAAU,CAAC;EACb;EAGF,IAAIL,UAAA,EACF;EAGFA,UAAA,GAAa;EAEb,MAAMM,OAAA,GAAU,UAAMR,kBAAA,CAAAS,UAAA,EAAW;IAAEN;EAAe,CAAC;EAEnD,IAAI,CAACK,OAAA,CAAQL,cAAA,CAAeO,MAAA,EAC1B,MAAAR,UAAA,GAAa,IACP,IAAIS,KAAA,CAAM,WAAW;EAG7B,MAAMC,oBAAA,GAAuB,UAAMZ,kBAAA,CAAAa,iBAAA,EACjCL,OAAA,CAAQL,cAAA,CAAeO,MAAA,EACvB,YAAY;MACV,UAAMZ,oBAAA,CAAAgB,gBAAA,EAAiB,GACvB,UAAMd,kBAAA,CAAAe,oBAAA,EAAqBP,OAAA,CAAQL,cAAc,GACjD,UAAMF,uBAAA,CAAAe,gBAAA,EAAiBR,OAAA,CAAQL,cAAA,EAAgB,MAAM,EAAI;IAC3D,CACF;IAEMc,iBAAA,GAAoBT,OAAA,CAAQL,cAAA,CAAee,YAAA,EAAcC,KAAA;EAC/D,IAAIC,oBAAA;EAEJ,IAAIH,iBAAA,EAAmB;IACrB,IAAII,SAAA,GAAYJ,iBAAA;IAChB,IAAI;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