Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vc dev] tsconfig.json setting verbatimModuleSyntax and module: preserve not allowed #11516

Open
devjiwonchoi opened this issue Apr 30, 2024 · 0 comments

Comments

@devjiwonchoi
Copy link

Screenshot 2024-04-30 at 3 14 03 PM
{
  "compilerOptions": {
    // Base Options recommended for all projects
    "esModuleInterop": true,
    "skipLibCheck": true,
    "target": "es2022",
    "allowJs": true,
    "resolveJsonModule": true,
    "moduleDetection": "force",
    "isolatedModules": true,
    "verbatimModuleSyntax": true,
    // Enable strict type checking so you can catch bugs early
    "strict": true,
    "noUncheckedIndexedAccess": true,
    "noImplicitOverride": true,
    // We are not transpiling, so preserve our source code and do not emit files
    "module": "preserve",
    "noEmit": true,
    "lib": [
      "es2022"
    ]
  },
  // Include the necessary files for your project
  "include": [
    "**/*.ts",
  ],
  "exclude": [
    "node_modules"
  ]
}

tsconfig generated from https://tsconfig.guide based on Matt Pottock's tsconfig cheat sheet.

@devjiwonchoi devjiwonchoi changed the title [CLI] tsconfig.json setting verbatimModuleSyntax and module: preserve not allowed [vc dev] tsconfig.json setting verbatimModuleSyntax and module: preserve not allowed Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant