tailwind-styled-v4 5.0.39 → 5.0.40

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/dist/vite.js CHANGED
@@ -1262,14 +1262,13 @@ async function generateRawCss(classes, cssEntryContent, root) {
1262
1262
  const compiler = await Promise.resolve(tw.compile(input, { loadStylesheet }));
1263
1263
  return compiler.build(classes);
1264
1264
  }
1265
- var import_node_module2, import_meta, require2, MAX_CACHE_MEMORY, _twEngine, _twEngineError;
1265
+ var import_node_module2, require2, MAX_CACHE_MEMORY, _twEngine, _twEngineError;
1266
1266
  var init_tailwindEngine = __esm({
1267
1267
  "packages/domain/compiler/src/tailwindEngine.ts"() {
1268
1268
  "use strict";
1269
1269
  import_node_module2 = require("module");
1270
- import_meta = {};
1271
1270
  require2 = (0, import_node_module2.createRequire)(
1272
- typeof __filename !== "undefined" ? `file://${__filename}` : typeof import_meta !== "undefined" && __importMetaUrl ? __importMetaUrl : "file://unknown"
1271
+ typeof __filename !== "undefined" ? `file://${__filename}` : false ? __importMetaUrl : "file://unknown"
1273
1272
  );
1274
1273
  MAX_CACHE_MEMORY = 256 * 1024;
1275
1274
  _twEngine = null;
@@ -1452,7 +1451,7 @@ function processTailwindCssWithTargets(css, targets) {
1452
1451
  }
1453
1452
  return result.css;
1454
1453
  }
1455
- var import_node_module3, import_meta2, require3, _cssCache, _cacheHits, _cacheMisses, MAX_CACHE_SIZE, MAX_CACHE_MEMORY2;
1454
+ var import_node_module3, require3, _cssCache, _cacheHits, _cacheMisses, MAX_CACHE_SIZE, MAX_CACHE_MEMORY2;
1456
1455
  var init_tailwindEngine2 = __esm({
1457
1456
  "packages/domain/compiler/src/compiler/tailwindEngine.ts"() {
1458
1457
  "use strict";
@@ -1461,9 +1460,8 @@ var init_tailwindEngine2 = __esm({
1461
1460
  init_cssGeneratorNative();
1462
1461
  init_cssCompilationNative();
1463
1462
  init_tailwindEngine();
1464
- import_meta2 = {};
1465
1463
  require3 = (0, import_node_module3.createRequire)(
1466
- typeof __filename !== "undefined" ? `file://${__filename}` : typeof import_meta2 !== "undefined" && __importMetaUrl ? __importMetaUrl : "file://unknown"
1464
+ typeof __filename !== "undefined" ? `file://${__filename}` : false ? __importMetaUrl : "file://unknown"
1467
1465
  );
1468
1466
  _cssCache = /* @__PURE__ */ new Map();
1469
1467
  _cacheHits = 0;
@@ -4138,8 +4136,8 @@ function getDirname2() {
4138
4136
  if (typeof __dirname !== "undefined") {
4139
4137
  return __dirname;
4140
4138
  }
4141
- if (typeof import_meta3 !== "undefined" && __importMetaUrl) {
4142
- return import_node_path5.default.dirname((0, import_node_url2.fileURLToPath)(__importMetaUrl));
4139
+ if (false) {
4140
+ return path6.dirname(fileURLToPath2(__importMetaUrl));
4143
4141
  }
4144
4142
  return process.cwd();
4145
4143
  }
@@ -4344,14 +4342,13 @@ function hasNativeWatchBinding() {
4344
4342
  return false;
4345
4343
  }
4346
4344
  }
4347
- var import_node_path5, import_node_url2, import_meta3, log2, isValidScannerBinding, createScannerBridgeLoader, scannerBridgeLoader, scannerGetBinding, resetScannerBridgeCache;
4345
+ var import_node_path5, import_node_url2, log2, isValidScannerBinding, createScannerBridgeLoader, scannerBridgeLoader, scannerGetBinding, resetScannerBridgeCache;
4348
4346
  var init_native_bridge = __esm({
4349
4347
  "packages/domain/scanner/src/native-bridge.ts"() {
4350
4348
  "use strict";
4351
- import_node_path5 = __toESM(require("path"), 1);
4349
+ import_node_path5 = require("path");
4352
4350
  import_node_url2 = require("url");
4353
4351
  init_src();
4354
- import_meta3 = {};
4355
4352
  log2 = createDebugLogger("scanner:native");
4356
4353
  isValidScannerBinding = (module2) => {
4357
4354
  const candidate = module2;
@@ -4659,8 +4656,8 @@ function getRuntimeDir() {
4659
4656
  if (typeof __dirname !== "undefined" && __dirname.length > 0) {
4660
4657
  return __dirname;
4661
4658
  }
4662
- if (typeof import_meta4 !== "undefined" && __importMetaUrl) {
4663
- return import_node_path8.default.dirname((0, import_node_url4.fileURLToPath)(__importMetaUrl));
4659
+ if (false) {
4660
+ return import_node_path8.default.dirname(fileURLToPath4(__importMetaUrl));
4664
4661
  }
4665
4662
  return process.cwd();
4666
4663
  }
@@ -4669,8 +4666,8 @@ function resolveScannerWorkerModulePath() {
4669
4666
  if (typeof __dirname !== "undefined" && __dirname.length > 0) {
4670
4667
  return __dirname;
4671
4668
  }
4672
- if (typeof import_meta4 !== "undefined" && __importMetaUrl) {
4673
- return import_node_path8.default.dirname((0, import_node_url4.fileURLToPath)(__importMetaUrl));
4669
+ if (false) {
4670
+ return import_node_path8.default.dirname(fileURLToPath4(__importMetaUrl));
4674
4671
  }
4675
4672
  return process.cwd();
4676
4673
  })();
@@ -4943,7 +4940,7 @@ async function scanWorkspaceAsync(rootDir, options = {}) {
4943
4940
  return scanWorkspace2(rootDir, normalizedOptions);
4944
4941
  }
4945
4942
  }
4946
- var import_node_fs6, import_node_module6, import_node_path8, import_node_url4, import_node_worker_threads2, import_meta4, log3, SCAN_WORKER_TIMEOUT_MS, createNativeParserLoader, nativeParserLoader, DEFAULT_EXTENSIONS, DEFAULT_IGNORES;
4943
+ var import_node_fs6, import_node_module6, import_node_path8, import_node_url4, import_node_worker_threads2, log3, SCAN_WORKER_TIMEOUT_MS, createNativeParserLoader, nativeParserLoader, DEFAULT_EXTENSIONS, DEFAULT_IGNORES;
4947
4944
  var init_src3 = __esm({
4948
4945
  "packages/domain/scanner/src/index.ts"() {
4949
4946
  "use strict";
@@ -4959,7 +4956,6 @@ var init_src3 = __esm({
4959
4956
  init_schemas();
4960
4957
  init_schemas();
4961
4958
  init_native_bridge();
4962
- import_meta4 = {};
4963
4959
  log3 = createLogger2("scanner");
4964
4960
  SCAN_WORKER_TIMEOUT_MS = 12e4;
4965
4961
  createNativeParserLoader = () => {
@@ -5049,20 +5045,19 @@ var init_src3 = __esm({
5049
5045
  // packages/domain/engine/src/native-bridge.ts
5050
5046
  function getDirname3() {
5051
5047
  if (typeof __dirname !== "undefined") return __dirname;
5052
- if (typeof import_meta5 !== "undefined" && __importMetaUrl) {
5053
- return getDirname(__importMetaUrl);
5048
+ if (false) {
5049
+ return getEsmDirname(__importMetaUrl);
5054
5050
  }
5055
5051
  return process.cwd();
5056
5052
  }
5057
5053
  function getNativeEngineBinding() {
5058
5054
  return engineBindingLoader.get();
5059
5055
  }
5060
- var import_meta5, log4, isValidEngineBinding, createEngineBindingLoader, engineBindingLoader;
5056
+ var log4, isValidEngineBinding, createEngineBindingLoader, engineBindingLoader;
5061
5057
  var init_native_bridge2 = __esm({
5062
5058
  "packages/domain/engine/src/native-bridge.ts"() {
5063
5059
  "use strict";
5064
5060
  init_src();
5065
- import_meta5 = {};
5066
5061
  log4 = createDebugLogger("engine:native");
5067
5062
  isValidEngineBinding = (module2) => {
5068
5063
  const candidate = module2;