shout if react is not imported as it breaks things

This commit is contained in:
Dexter 2021-12-16 12:35:25 +00:00
parent c7dddd5dc5
commit d01b0a9b2c

View File

@ -1,11 +1,7 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "ES2020", "target": "ES2020",
"lib": [ "lib": ["dom", "dom.iterable", "ES2020"],
"dom",
"dom.iterable",
"ES2020"
],
"allowJs": true, "allowJs": true,
"skipLibCheck": true, "skipLibCheck": true,
"esModuleInterop": true, "esModuleInterop": true,
@ -17,18 +13,11 @@
"moduleResolution": "node", "moduleResolution": "node",
"resolveJsonModule": true, "resolveJsonModule": true,
"isolatedModules": true, "isolatedModules": true,
"jsx": "react-jsx", "jsx": "react",
"declaration": true, "declaration": true,
"emitDeclarationOnly": true, "emitDeclarationOnly": true,
"declarationDir": "dist/types", "declarationDir": "dist/types"
"noEmit": true
}, },
"include": [ "include": ["src"],
"src" "exclude": ["node_modules", "**/*.stories.tsx", "**/*.test.tsx"]
],
"exclude": [
"node_modules",
"**/*.stories.tsx",
"**/*.test.tsx"
]
} }