Skip to content

Commit

Permalink
chore: build
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammedKpln committed Aug 27, 2024
1 parent 42a4e91 commit 544bb53
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ expo-env.d.ts


# tamagui
#tamagui-web.css
tamagui-web.css
./lib/tamagui/themes-output.ts
4 changes: 2 additions & 2 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ module.exports = (api) => {
return {
presets: ['babel-preset-expo'],
plugins: [
'@babel/plugin-proposal-export-namespace-from',
[
'@tamagui/babel-plugin',
{
components: ['tamagui'],
config: './lib/tamagui/config.ts',
logTimings: true,
disableExtraction: process.env.NODE_ENV === 'development',
experimentalFlattenThemesOnNative: true
},
],

'@babel/plugin-proposal-export-namespace-from',
'react-native-reanimated/plugin'
]
};
Expand Down
2 changes: 1 addition & 1 deletion metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { getDefaultConfig } = require('expo/metro-config');
/** @type {import('expo/metro-config').MetroConfig} */
let config = getDefaultConfig(__dirname, {
// [Web-only]: Enables CSS support in Metro.
isCSSEnabled: false
isCSSEnabled: true
});

const { transformer, resolver } = config;
Expand Down

0 comments on commit 544bb53

Please sign in to comment.