Skip to content

Commit

Permalink
fix: compatibility issues (#409 #410 #411) (#422)
Browse files Browse the repository at this point in the history
Co-authored-by: ekaidalov <ekaidalov@aligntech.com>
  • Loading branch information
MrZordex and ekaidalov committed Sep 4, 2023
1 parent c887729 commit 7020588
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"compilerOptions": {
"rootDir": "./src",
"target": "ESNext",
"target": "ES2019",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ESNext", "DOM"],
"module": "CommonJS",
"lib": ["ES2019", "DOM"],
"moduleResolution": "Node",
"strict": true,
"sourceMap": true,
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const formats = Object.keys(fileName) as Array<keyof typeof fileName>;
module.exports = defineConfig({
base: "./",
build: {
target: "ES2019",
lib: {
entry: path.resolve(__dirname, "src/driver.ts"),
name: packageName,
Expand Down

0 comments on commit 7020588

Please sign in to comment.