You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/vite/src/node/plugins/terser.ts
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
import{pathToFileURL}from'node:url'
1
2
importtype{
2
3
TerserMinifyOptions,
3
4
TerserMinifyOutput,
@@ -47,9 +48,8 @@ export function terserPlugin(config: ResolvedConfig): Plugin {
47
48
code: string,
48
49
options: TerserMinifyOptions,
49
50
)=>{
50
-
// test fails when using `import`. maybe related: https://github.com/nodejs/node/issues/43205
51
-
// eslint-disable-next-line no-restricted-globals -- this function runs inside cjs
0 commit comments