fix: bundler errors in React and Vue adapters should now be resolved (#447)

* fix: bundler errors in React and Vue adapters should now be resolved

* chore: replace use-isomorphic-layout-effect with dep for RN support
This commit is contained in:
Corbin Crutchley
2023-09-07 20:03:11 -07:00
committed by GitHub
parent 57c9f5fa7c
commit e3e60ccd41
12 changed files with 2122 additions and 416 deletions

View File

@@ -0,0 +1,13 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": true
},
"include": [
"**/*.ts",
"**/*.tsx",
".eslintrc.cjs",
"test-setup.ts",
"tsup.config.js"
]
}

View File

@@ -4,6 +4,6 @@ import { defineConfig } from 'tsup'
import { legacyConfig, modernConfig } from '../../scripts/getTsupConfig.js'
export default defineConfig([
modernConfig({ entry: ['src/*.ts'] }),
legacyConfig({ entry: ['src/*.ts'] }),
modernConfig({ entry: ['src/*.ts', 'src/*.tsx'] }),
legacyConfig({ entry: ['src/*.ts', 'src/*.tsx'] }),
])