Prepare for vitest in shared-components (#31820)
* Use typescript for vite config Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Switch shared-components to ESM Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove stale aliases Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove reference to element-web files from shared-components Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove spurious node polyfill Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -11,15 +11,14 @@
|
||||
"target": "es2022",
|
||||
"noUnusedLocals": true,
|
||||
"sourceMap": false,
|
||||
"outDir": "./lib",
|
||||
"declaration": true,
|
||||
"jsx": "react",
|
||||
"lib": ["es2022", "es2024.promise", "dom", "dom.iterable"],
|
||||
"strict": true,
|
||||
"paths": {
|
||||
"jest-matrix-react": ["./src/test/utils/jest-matrix-react"],
|
||||
"rollup/parseAst": ["./node_modules/rollup/dist/parseAst"]
|
||||
"jest-matrix-react": ["./src/test/utils/jest-matrix-react"]
|
||||
}
|
||||
},
|
||||
"include": ["./src/**/*.ts", "./src/**/*.tsx"]
|
||||
"include": ["./src/**/*.ts", "./src/**/*.tsx"],
|
||||
"references": [{ "path": "./tsconfig.node.json" }]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user