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 cce5917 commit a86decaCopy full SHA for a86deca
package.json
@@ -156,7 +156,7 @@
156
"stylelint-order": "^6.0.4",
157
"ts-jest": "^29.1.2",
158
"ts-node": "^10.9.1",
159
- "tsdown": "^0.12.1",
+ "tsdown": "^0.12.2",
160
"tslib": "^2.6.2",
161
"typescript": "~5.4.5",
162
"vitest": "^1.6.0"
packages/taro-runtime/tsdown.config.ts
@@ -2,10 +2,11 @@ import { defineConfig } from 'tsdown'
2
3
export default [
4
defineConfig({
5
- entry: 'src/**/*.ts',
+ entry: 'src/index.ts',
6
noExternal: ['@tarojs/shared'],
7
treeshake: false,
8
sourcemap: true,
9
+ unbundle: true,
10
}),
11
12
entry: {
0 commit comments