bash npm list react-native-css-interop
module.exports = { important: 'html', // other configurations};
module.exports = function (api) { api.cache(true); return { presets: [ ["babel-preset-expo", { jsxImportSource: "nativewind" }], "nativewind/babel", ], };};
const { getDefaultConfig } = require("expo/metro-config");const { withNativeWind } = require("nativewind/metro");
const config = getDefaultConfig(__dirname);
module.exports = withNativeWind(config, { input: "./global.css" });
// app/_layout.tsx or App.tsx
import "../global.css";
plugins: [ [ "@babel/plugin-transform-react-jsx", { runtime: "automatic", importSource: "nativewind", }, ],];
{ "compilerOptions": { "jsxImportSource": "nativewind" }}
const nextConfig = { reactStrictMode: true, transpilePackages: ["nativewind", "react-native-css-interop"],};