Skip to content

Commit 350d0d3

Browse files
committed
dont try to externalize iconv-lite
1 parent a1db6c8 commit 350d0d3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

vite.config.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ export default defineConfig({
1212
propertyReadSideEffects: false, // Don't preserve property access
1313
tryCatchDeoptimization: false, // More aggressive optimization
1414
},
15-
external: (id) => {
16-
// Externalize unused encodings if you can identify them
17-
if (id.includes("iconv-lite/encodings/") && !id.includes("shiftjis")) {
18-
return true;
19-
}
20-
},
2115
},
2216
},
2317
plugins: [

0 commit comments

Comments
 (0)