mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 14:43:25 +00:00
fix ci
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
diff --git a/dist/metro/transformer.js b/dist/metro/transformer.js
|
||||
index 1bda43b116d02834db01a42e64dd302e3d3fe785..8ff7f8a324cd9a8531df915a704d604828959e78 100644
|
||||
--- a/dist/metro/transformer.js
|
||||
+++ b/dist/metro/transformer.js
|
||||
@@ -16,7 +16,7 @@ new globalThis.WebSocket(\`\${url}:${config.nativewind.fastRefreshPort}\`).addEv
|
||||
StyleSheet.registerCompiled(JSON.parse('${config.nativewind.parsedOutput}'));`, "utf8"), options);
|
||||
}
|
||||
else if (options.platform === "web") {
|
||||
- return metro_transform_worker_1.default.transform(config, projectRoot, filename, Buffer.from(`require('${config.nativewind.outputPath}');`, "utf8"), options);
|
||||
+ return metro_transform_worker_1.default.transform(config, projectRoot, filename, Buffer.from(`require('${config.nativewind.outputPath.replace(/\\/g, '\\\\')}');`, "utf8"), options);
|
||||
}
|
||||
else {
|
||||
data = Buffer.from(config.nativewind.rawOutput, "utf8");
|
@@ -11,7 +11,7 @@ const config = {
|
||||
"prettier-plugin-tailwindcss",
|
||||
],
|
||||
tailwindConfig: fileURLToPath(
|
||||
new URL("../../tooling/tailwind/web.ts", import.meta.url),
|
||||
new URL("../../tooling/tailwind/native.ts", import.meta.url),
|
||||
),
|
||||
tailwindFunctions: ["cn", "cva"],
|
||||
importOrder: [
|
||||
|
Reference in New Issue
Block a user