Next.js Discord

Discord Forum

Transpiling modules would automatically make entire nextjs project usable only with "use client"

Answered
aprilia posted this in #help-forum
Open in Discord
Avatar
transpilePackages: [
    'app',
    'expo-router',
    'react-native',
    'react-native-web',
    'solito',
    'moti',
    'react-native-reanimated',
    'react-native-svg',
    'nativewind',
    'react-native-gesture-handler',
    'react-native-css-interop',
    'react-native-vector-icons',
    'react-native-ratings',
    'react-native-tab-view',
    'react-native-autocomplete-input',
    'react-native-collapsible',
    '@idiosync/horizontal-flatlist',
    'react-native-switch',
    'react-native-lightweight-inview'
  ],

my page.tsx file
export default function Page() {
    return <div>
        <p>Hello world</p>
    </div>
}
Image

1 Reply