Skip to content

Commit

Permalink
Minify to ES2018 using Terser
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermesimoes authored Nov 23, 2023
1 parent d9130c8 commit 973a916
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/minifiers/terser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { minifier } from '../types';

export default minifier(async ({ code }) => {
const minified = await minify(code, {
ecma: 2018,
sourceMap: false,
output: {
comments: false,
Expand Down

0 comments on commit 973a916

Please sign in to comment.