Skip to content

Commit 6f83025

Browse files
committed
feat: update
1 parent 003c8bd commit 6f83025

File tree

5 files changed

+113
-860
lines changed

5 files changed

+113
-860
lines changed

build.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ import rdtPkg from './node_modules/react-devtools-core/package.json' with { type
66
const bundle = await rolldown({
77
input: 'index.js',
88
platform: 'neutral',
9+
optimization: {
10+
inlineConst: true
11+
},
912
experimental: {
1013
strictExecutionOrder: true,
1114
},
12-
resolve: {
13-
tsconfigFilename: 'tsconfig.json',
14-
},
15+
tsconfig: './tsconfig.json',
1516
treeshake: true,
1617
keepNames: true,
1718
define: {

0 commit comments

Comments
 (0)