README
A base TSConfig for working with Remix.
Add the package to your "devDependencies"
:
npm install --save-dev @tsconfig/remix
yarn add --dev @tsconfig/remix
Add to your tsconfig.json
:
"extends": "@tsconfig/remix/tsconfig.json"
The tsconfig.json
:
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Remix",
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2019"],
"isolatedModules": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"moduleResolution": "node",
"resolveJsonModule": true,
"target": "ES2019",
"strict": true,
"baseUrl": ".",
"paths": {
"~/*": ["./app/*"]
},
"noEmit": true
}
}
You can find the code here.