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