Skip to content

Commit d16d197

Browse files
authored
chore: update oxc-minify to 0.98 (#5033)
1 parent 9183680 commit d16d197

File tree

3 files changed

+67
-67
lines changed

3 files changed

+67
-67
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
"minimist": "^1.2.8",
166166
"nanoid": "^5.1.6",
167167
"ora": "^9.0.0",
168-
"oxc-minify": "^0.97.0",
168+
"oxc-minify": "^0.98.0",
169169
"p-map": "^7.0.4",
170170
"package-directory": "^8.1.0",
171171
"path-to-regexp": "^6.3.0",

pnpm-lock.yaml

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

src/node/build/render.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ async function minifyScript(code: string, filename: string): Promise<string> {
268268
// @ts-ignore use oxc-minify when rolldown-vite is used
269269
if (vite.rolldownVersion) {
270270
const oxcMinify = await import('oxc-minify')
271-
return oxcMinify.minify(filename, code).code.trim()
271+
return (await oxcMinify.minify(filename, code)).code.trim()
272272
}
273273
return (
274274
await transformWithEsbuild(code, filename, { minify: true })

0 commit comments

Comments
 (0)