Skip to content

Commit

Permalink
feat: enabled verbatimModuleSyntax
Browse files Browse the repository at this point in the history
  • Loading branch information
kedrzu committed Mar 27, 2024
1 parent e5447e0 commit 9514cd5
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 38 deletions.
3 changes: 2 additions & 1 deletion packages/jest/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"module": "commonjs",
"moduleResolution": "Node",
"outDir": "./dist",
"rootDir": "./src"
"rootDir": "./src",
"verbatimModuleSyntax": false
},
"include": ["src"],
"references": []
Expand Down
66 changes: 30 additions & 36 deletions packages/vue/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,33 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"jsx": "react",
"jsxFactory": "h",
"jsxFragmentFactory": "h",
"composite": false,
"verbatimModuleSyntax": true,
"plugins": [
{
"name": "typescript-plugin-css-modules"
}
],
"types": ["node", "vite/client"]
},
"include": [
"./src/**/*.ts",
"./src/**/*.tsx",
"./src/**/*.json",
"./src/**/*.scss"
],
"references": [
{
"path": "../dom/tsconfig.json"
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"jsx": "react",
"jsxFactory": "h",
"jsxFragmentFactory": "h",
"composite": false,
"plugins": [
{
"name": "typescript-plugin-css-modules"
}
],
"types": ["node", "vite/client"]
},
{
"path": "../ioc/tsconfig.json"
},
{
"path": "../types/tsconfig.json"
},
{
"path": "../utils/tsconfig.json"
}
]
"include": ["./src/**/*.ts", "./src/**/*.tsx", "./src/**/*.json", "./src/**/*.scss"],
"references": [
{
"path": "../dom/tsconfig.json"
},
{
"path": "../ioc/tsconfig.json"
},
{
"path": "../types/tsconfig.json"
},
{
"path": "../utils/tsconfig.json"
}
]
}
3 changes: 2 additions & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"resolveJsonModule": true,
"incremental": true,
"importHelpers": true,
"preserveSymlinks": true
"preserveSymlinks": true,
"verbatimModuleSyntax": true
},
"exclude": ["node_modules"]
}

0 comments on commit 9514cd5

Please sign in to comment.