Skip to content

Commit 69d1350

Browse files
committed
feat: update rolldown
1 parent ee1a884 commit 69d1350

File tree

6 files changed

+64
-73
lines changed

6 files changed

+64
-73
lines changed

packages/vite/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"lightningcss": "^1.30.0",
9191
"picomatch": "^4.0.2",
9292
"postcss": "^8.5.3",
93-
"rolldown": "1.0.0-beta.10-commit.174c548",
93+
"rolldown": "1.0.0-beta.11-commit.83d4d62",
9494
"tinyglobby": "^0.2.13"
9595
},
9696
"optionalDependencies": {
@@ -102,7 +102,7 @@
102102
"@jridgewell/trace-mapping": "^0.3.25",
103103
"@oxc-project/types": "0.72.2",
104104
"@polka/compression": "^1.0.0-next.25",
105-
"@rolldown/pluginutils": "1.0.0-beta.10-commit.174c548",
105+
"@rolldown/pluginutils": "1.0.0-beta.11-commit.83d4d62",
106106
"@rollup/plugin-alias": "^5.1.1",
107107
"@rollup/plugin-commonjs": "^28.0.3",
108108
"@rollup/plugin-dynamic-import-vars": "2.1.4",

packages/vite/src/node/build.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1489,9 +1489,6 @@ const relativeUrlMechanisms: Record<
14891489
`(typeof document === 'undefined' && typeof location === 'undefined' ? ${getFileUrlFromRelativePath(
14901490
relativePath,
14911491
)} : ${getRelativeUrlFromDocument(relativePath, true)})`,
1492-
// FIXME: how to handle this?
1493-
app: (relativePath) =>
1494-
`new Error('Cannot resolve ${relativePath} in output format "app".')`,
14951492
}
14961493
/* end of copy */
14971494

packages/vite/src/node/plugins/css.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -917,8 +917,6 @@ export function cssPostPlugin(config: ResolvedConfig): Plugin {
917917
`${style}.textContent = ${cssString};` +
918918
`document.head.appendChild(${style});`
919919

920-
if (opts.format === 'app')
921-
this.error('format: "app" is not supported')
922920
// TODO: system js support
923921
// const wrapIdx = code.indexOf('System.register')
924922
// if (wrapIdx >= 0) {

packages/vite/src/node/plugins/oxc.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -457,10 +457,6 @@ export const buildOxcPlugin = (): Plugin => {
457457
res.code.slice(0, pos) + helpersCode + '\n' + res.code.slice(pos)
458458
break
459459
}
460-
case 'app': {
461-
throw new Error('format: "app" is not supported yet')
462-
break
463-
}
464460
default: {
465461
opts.format satisfies never
466462
}

playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"convert-source-map": "^2.0.0",
1111
"css-color-names": "^1.0.1",
1212
"kill-port": "^1.6.1",
13-
"rolldown": "1.0.0-beta.10-commit.174c548"
13+
"rolldown": "1.0.0-beta.11-commit.83d4d62"
1414
}
1515
}

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)