Skip to content

Commit 7020588

Browse files
MrZordexekaidalov
andauthored
fix: compatibility issues (#409 #410 #411) (#422)
Co-authored-by: ekaidalov <ekaidalov@aligntech.com>
1 parent c887729 commit 7020588

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"compilerOptions": {
33
"rootDir": "./src",
4-
"target": "ESNext",
4+
"target": "ES2019",
55
"useDefineForClassFields": true,
6-
"module": "ESNext",
7-
"lib": ["ESNext", "DOM"],
6+
"module": "CommonJS",
7+
"lib": ["ES2019", "DOM"],
88
"moduleResolution": "Node",
99
"strict": true,
1010
"sourceMap": true,

vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const formats = Object.keys(fileName) as Array<keyof typeof fileName>;
1515
module.exports = defineConfig({
1616
base: "./",
1717
build: {
18+
target: "ES2019",
1819
lib: {
1920
entry: path.resolve(__dirname, "src/driver.ts"),
2021
name: packageName,

0 commit comments

Comments
 (0)