Skip to content

Commit

Permalink
back off a few more aggressive bundle optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
0age committed Dec 11, 2024
1 parent dc9cebd commit e3a562f
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ export default defineConfig(({ mode }) => {
drop_console: true,
drop_debugger: true,
pure_getters: true,
unsafe: true,
unsafe_comps: true,
unsafe_math: true,
unsafe_methods: true,
unsafe_proto: true,
unsafe_regexp: true,
passes: 3,
module: true,
toplevel: true,
Expand All @@ -62,13 +56,6 @@ export default defineConfig(({ mode }) => {
hoist_props: true,
join_vars: true
},
mangle: {
properties: false,
module: true,
toplevel: true,
keep_classnames: false,
keep_fnames: false
},
format: {
comments: false,
preserve_annotations: false,
Expand All @@ -77,9 +64,8 @@ export default defineConfig(({ mode }) => {
indent_level: 0
}
},
chunkSizeWarningLimit: 500,
chunkSizeWarningLimit: 375,
reportCompressedSize: true,
sourcemap: false,
cssCodeSplit: true,
rollupOptions: {
output: {
Expand Down Expand Up @@ -190,7 +176,6 @@ export default defineConfig(({ mode }) => {
}
},
compact: true,
minifyInternalExports: true,
generatedCode: {
preset: 'es2015',
symbols: false,
Expand Down

0 comments on commit e3a562f

Please sign in to comment.