@vue/tsconfig
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "@vue/tsconfig", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "A base TSConfig for working with Vue.js", | ||
@@ -5,0 +5,0 @@ "main": "tsconfig.json", |
@@ -10,7 +10,11 @@ { | ||
// We expect users to use bundlers. | ||
// So here we enable some resolution features that are only available in bundlers. | ||
"moduleResolution": "bundler", | ||
"resolveJsonModule": true, | ||
"allowImportingTsExtensions": true, | ||
"useDefineForClassFields": true, | ||
// `allowImportingTsExtensions` can only be used when `noEmit` or `emitDeclarationOnly` is set. | ||
"noEmit": true, | ||
// Required in Vue projects | ||
@@ -39,4 +43,8 @@ "jsx": "preserve", | ||
// at least `ES2020` for dynamic `import()`s and `import.meta` to work correctly. | ||
// - If you are not using Vite, feel free to override the `target` field. | ||
// - If you are not using Vite, feel free to overwrite the `target` field. | ||
"target": "ESNext", | ||
// For spec compilance. | ||
// `true` by default if the `target` is `ES2020` or higher. | ||
// Explicitly set it to `true` here in case some users want to overwrite the `target`. | ||
"useDefineForClassFields": true, | ||
@@ -43,0 +51,0 @@ // Recommended |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6954
66