Skip to content

Commit 012b9fc

Browse files
committed
feat: upgrade rolldown
closes #211
1 parent 1abc222 commit 012b9fc

File tree

3 files changed

+76
-74
lines changed

3 files changed

+76
-74
lines changed

pnpm-lock.yaml

Lines changed: 72 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ catalogs:
3737
diff: ^8.0.2
3838
empathic: ^1.1.0
3939
hookable: ^5.5.3
40-
rolldown: 1.0.0-beta.9-commit.d91dfb5
40+
rolldown: 1.0.0-beta.9-commit.273d50e
4141
rolldown-plugin-dts: ^0.13.4
4242
semver: ^7.7.2
4343
tinyexec: ^1.0.1

src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,9 @@ async function getBuildOptions(
277277
return acc
278278
}, Object.create(null)),
279279
},
280+
transform: {
281+
target,
282+
},
280283
plugins,
281284
inject: {
282285
...(shims && !cjsDts && getShimsInject(format, platform)),
@@ -298,7 +301,6 @@ async function getBuildOptions(
298301
name: config.globalName,
299302
sourcemap,
300303
dir: outDir,
301-
target,
302304
minify: !cjsDts && minify,
303305
entryFileNames,
304306
chunkFileNames,

0 commit comments

Comments
 (0)