mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-07-21 19:35:59 -04:00
dial up the minification of MDX output a bit more
This commit is contained in:
+4
-1
@@ -86,8 +86,11 @@ export const getNote = async (slug: string): Promise<NoteType> => {
|
||||
// ...so do it manually (and conservatively) with terser for now.
|
||||
compiledSource: (
|
||||
await minify(source.compiledSource, {
|
||||
ecma: 2018,
|
||||
module: true,
|
||||
parse: { bare_returns: true },
|
||||
mangle: false,
|
||||
compress: { defaults: true },
|
||||
sourceMap: false,
|
||||
})
|
||||
).code,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user