{"version":3,"file":"with-react.cjs","sources":["../src/index.ts"],"sourcesContent":["import type {\n  Twind,\n  BaseTheme,\n  TwindConfig,\n  TwindUserConfig,\n  Preset,\n  ExtractThemes,\n} from '@twind/core'\n\nimport { install as install$ } from '@twind/core'\n\nexport default install\n\nfunction install<Theme extends BaseTheme = BaseTheme>(\n  config: TwindConfig<Theme>,\n  isProduction?: boolean,\n): Twind<Theme & BaseTheme>\n\nfunction install<Theme = BaseTheme, Presets extends Preset<any>[] = Preset[]>(\n  config: TwindUserConfig<Theme, Presets>,\n  isProduction?: boolean,\n): Twind<BaseTheme & ExtractThemes<Theme, Presets>>\n\nfunction install(\n  config: TwindConfig | TwindUserConfig,\n  isProduction = process.env.NODE_ENV == 'production',\n): Twind {\n  return install$(config as TwindConfig, isProduction)\n}\n"],"names":["config","isProduction","process","env","NODE_ENV","install$"],"mappings":";;iBAuBA,SACEA,MAAqC,EACrCC,eAAeC,AAAwB,gBAAxBA,QAAQC,GAAG,CAACC,QAAQ,AAAgB,EAC5C;IACP,OAAOC,aAASL,QAAuBC;AACzC"}