mirror of
https://github.com/Sevichecc/m-oauth.git
synced 2025-04-30 06:59:29 +08:00
20 lines
460 B
JavaScript
20 lines
460 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const { withTamagui } = require('@tamagui/next-plugin')
|
|
|
|
module.exports = function (name, { defaultConfig }) {
|
|
const config = {
|
|
...defaultConfig,
|
|
}
|
|
|
|
const tamaguiPlugin = withTamagui({
|
|
config: './tamagui.config.ts',
|
|
components: ['tamagui'],
|
|
outputCSS:
|
|
process.env.NODE_ENV === 'production' ? './public/tamagui.css' : null,
|
|
})
|
|
|
|
return {
|
|
...config,
|
|
...tamaguiPlugin(config),
|
|
}
|
|
}
|