tailwind-styled-v4 5.0.24 → 5.0.27

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/cli.mjs CHANGED
@@ -6176,6 +6176,7 @@ var init_src4 = __esm({
6176
6176
  init_cache();
6177
6177
  init_redis();
6178
6178
  init_watch();
6179
+ createRequire(import.meta.url);
6179
6180
  compileCssFromClasses = (classes, prefix) => {
6180
6181
  const native = getNativeBridge();
6181
6182
  if (!native?.transformSource) {
@@ -6805,11 +6806,11 @@ function computeSafelistSourcePath(cssFilePath, cwd2) {
6805
6806
  const safelistAbs = nodePath.resolve(cwd2, ".next", "tw-classes");
6806
6807
  const rel = nodePath.relative(cssDir, safelistAbs).replace(/\\/g, "/");
6807
6808
  const relPath = rel.startsWith(".") ? rel : `./${rel}`;
6808
- return `${relPath}/**`;
6809
+ return `${relPath}/[!_]*.css`;
6809
6810
  } catch {
6810
6811
  const depth = cssFilePath.split("/").length - 1;
6811
6812
  const ups = Array(depth).fill("..").join("/");
6812
- return `${ups}/.next/tw-classes/**`;
6813
+ return `${ups}/.next/tw-classes/[!_]*.css`;
6813
6814
  }
6814
6815
  }
6815
6816
  function computeStateStaticImportPath(cssFilePath, cwd2) {