mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 13:03:26 +00:00
refactor to tamagui
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
// Learn more: https://docs.expo.dev/guides/monorepos/
|
||||
const { getDefaultConfig } = require("expo/metro-config");
|
||||
const { FileStore } = require("metro-cache");
|
||||
const { withNativeWind } = require("nativewind/metro");
|
||||
const { withTamagui } = require("@tamagui/metro-plugin");
|
||||
|
||||
const path = require("path");
|
||||
|
||||
module.exports = withTurborepoManagedCache(
|
||||
withMonorepoPaths(
|
||||
withNativeWind(
|
||||
withTamagui(
|
||||
getDefaultConfig(__dirname, {
|
||||
isCSSEnabled: true,
|
||||
}),
|
||||
{
|
||||
input: "./src/styles/global.css",
|
||||
configPath: "./tailwind.config.ts",
|
||||
components: ["tamagui"],
|
||||
config: "./tamagui.config.ts",
|
||||
},
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user