Skip to content

Commit

Permalink
fix: 构建产物编译到 es2015 close #3025
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Dec 11, 2024
1 parent 8fca772 commit 1780f9c
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"react:start": "pnpm --filter @antv/s2-react test:live",
"react:playground": "pnpm --filter @antv/s2-react start",
"react:build": "pnpm --filter @antv/s2-react build",
"react:build-esm": "pnpm --filter @antv/s2-react build:esm",
"react:test": "pnpm --filter @antv/s2-react test",
"react:test-coverage": "pnpm --filter @antv/s2-react test:coverage",
"react:watch": " pnpm --filter @antv/s2-react watch",
Expand Down
1 change: 1 addition & 0 deletions packages/s2-core/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "./tsconfig.json",
"include": ["src/**/*", "./typings.d.ts", "../../global.d.ts"],
"compilerOptions": {
"target": "es2015",
"paths": {
"@antv/s2": ["s2-core/src/index.ts"]
}
Expand Down
1 change: 0 additions & 1 deletion packages/s2-core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"tests/*": ["s2-core/__tests__/*"]
},
},

"exclude": ["node_modules", "coverage", "esm", "lib", "dist", "temp"],
"include": ["src", "../../global.d.ts"]
}
1 change: 1 addition & 0 deletions packages/s2-react-components/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "./tsconfig.json",
"include": ["src/**/*", "./typings.d.ts", "../../global.d.ts"],
"compilerOptions": {
"target": "es2015",
"paths": {
"@antv/s2": ["s2-react-components/node_modules/@antv/s2/esm/index.d.ts"],
"@antv/s2/*": ["s2-react-components/node_modules/@antv/s2/esm/*"]
Expand Down
1 change: 1 addition & 0 deletions packages/s2-react/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "./tsconfig.json",
"include": ["src/**/*", "./typings.d.ts", "../../global.d.ts"],
"compilerOptions": {
"target": "es2015",
"paths": {
"@antv/s2": ["s2-react/node_modules/@antv/s2/esm/index.d.ts"],
"@antv/s2/*": ["s2-react/node_modules/@antv/s2/esm/*"]
Expand Down
1 change: 1 addition & 0 deletions packages/s2-vue/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "./tsconfig.json",
"include": ["src/**/*", "./typings.d.ts", "../../global.d.ts"],
"compilerOptions": {
"target": "es2015",
"paths": {}
}
}

0 comments on commit 1780f9c

Please sign in to comment.