@tsconfig/remix

2.0.5 • Public • Published

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"

NOTE: You may need to add "baseUrl": "." to your tsconfig.json to support proper file resolution.


The tsconfig.json:

{
  "$schema": "https://json.schemastore.org/tsconfig",
  "_version": "2.0.0",

  "compilerOptions": {
    "lib": ["dom", "dom.iterable", "es2019"],
    "isolatedModules": true,
    "esModuleInterop": true,
    "jsx": "react-jsx",
    "module": "esnext",
    "moduleResolution": "bundler",
    "resolveJsonModule": true,
    "target": "es2019",
    "strict": true,
    "allowJs": true,
    "baseUrl": ".",
    "paths": {
      "~/*": ["./app/*"]
    },

    // Remix takes care of building everything in `remix build`.
    "noEmit": true
  }
}

You can find the code here.

Readme

Keywords

Package Sidebar

Install

npm i @tsconfig/remix

Weekly Downloads

2,518

Version

2.0.5

License

MIT

Unpacked Size

2.97 kB

Total Files

4

Last publish

Collaborators

  • orta
  • typescript-deploys