We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c887729 commit 7020588Copy full SHA for 7020588
tsconfig.json
@@ -1,10 +1,10 @@
1
{
2
"compilerOptions": {
3
"rootDir": "./src",
4
- "target": "ESNext",
+ "target": "ES2019",
5
"useDefineForClassFields": true,
6
- "module": "ESNext",
7
- "lib": ["ESNext", "DOM"],
+ "module": "CommonJS",
+ "lib": ["ES2019", "DOM"],
8
"moduleResolution": "Node",
9
"strict": true,
10
"sourceMap": true,
vite.config.ts
@@ -15,6 +15,7 @@ const formats = Object.keys(fileName) as Array<keyof typeof fileName>;
15
module.exports = defineConfig({
16
base: "./",
17
build: {
18
+ target: "ES2019",
19
lib: {
20
entry: path.resolve(__dirname, "src/driver.ts"),
21
name: packageName,
0 commit comments