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/analyzer.js +9 -11
- package/dist/analyzer.js.map +1 -1
- package/dist/cli.js +22 -94
- package/dist/cli.js.map +1 -1
- package/dist/compiler.js +4 -6
- package/dist/compiler.js.map +1 -1
- package/dist/engine.js +17 -23
- package/dist/engine.js.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/next.js +12 -17
- package/dist/next.js.map +1 -1
- package/dist/plugin-registry.js +1 -2
- package/dist/plugin-registry.js.map +1 -1
- package/dist/rspack.js +4 -73
- package/dist/rspack.js.map +1 -1
- package/dist/scanner.js +8 -10
- package/dist/scanner.js.map +1 -1
- package/dist/shared.js +4 -6
- package/dist/shared.js.map +1 -1
- package/dist/svelte.js +2 -3
- package/dist/svelte.js.map +1 -1
- package/dist/syntax.js +2 -3
- package/dist/syntax.js.map +1 -1
- package/dist/theme.js +3 -4
- package/dist/theme.js.map +1 -1
- package/dist/turbopackLoader.js +4 -6
- package/dist/turbopackLoader.js.map +1 -1
- package/dist/tw.js +22 -94
- package/dist/tw.js.map +1 -1
- package/dist/vite.js +16 -21
- package/dist/vite.js.map +1 -1
- package/dist/vue.js +2 -3
- package/dist/vue.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -211,11 +211,10 @@ var import_node_module3 = require("module");
|
|
|
211
211
|
var import_node_path2 = require("path");
|
|
212
212
|
var import_node_url2 = require("url");
|
|
213
213
|
init_src();
|
|
214
|
-
var import_meta = {};
|
|
215
214
|
var isBrowser2 = typeof window !== "undefined" || typeof document !== "undefined";
|
|
216
215
|
var NATIVE_UNAVAILABLE_MESSAGE = "[tailwind-styled/core] Native binding is required but not available.\nPlease ensure you have run: npm run build:rust";
|
|
217
216
|
var _nodeRequire = (0, import_node_module3.createRequire)(
|
|
218
|
-
typeof __filename !== "undefined" ? `file://${__filename}` :
|
|
217
|
+
typeof __filename !== "undefined" ? `file://${__filename}` : false ? __importMetaUrl : "file://unknown"
|
|
219
218
|
);
|
|
220
219
|
var _loadNative = (path3) => _nodeRequire(path3);
|
|
221
220
|
var nativeBinding = null;
|
|
@@ -231,7 +230,7 @@ var getBinding = () => {
|
|
|
231
230
|
bindingLoadAttempted = true;
|
|
232
231
|
try {
|
|
233
232
|
const runtimeDir = isBrowser2 ? "" : (0, import_node_path2.dirname)(
|
|
234
|
-
typeof __filename !== "undefined" ? __filename :
|
|
233
|
+
typeof __filename !== "undefined" ? __filename : false ? fileURLToPath2(__importMetaUrl) : process.cwd()
|
|
235
234
|
);
|
|
236
235
|
const result = isBrowser2 ? { path: null, source: "not-found", platform: "browser", tried: [] } : resolveNativeBinary(runtimeDir);
|
|
237
236
|
if (result.path && result.path.endsWith(".node")) {
|