Skip to content

Commit

Permalink
build: replace rollup uglify plugin with terser
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinchoolur committed Jul 8, 2021
1 parent 746c8f3 commit 6aad836
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import camelCase from 'lodash.camelcase';
import typescript from 'rollup-plugin-typescript2';
import json from 'rollup-plugin-json';
import license from 'rollup-plugin-license';
import { terser } from "rollup-plugin-terser";
import { terser } from 'rollup-plugin-terser';

import pkg from './package.json';

Expand Down Expand Up @@ -85,7 +85,7 @@ const minConfigs = pluginConfigs.map((config) => {

// Resolve source maps to the original source
sourceMaps(),
terser(),
terser({ format: { comments: false } }),
license({
banner: {
commentStyle: 'regular',
Expand Down Expand Up @@ -166,7 +166,7 @@ export default [

// Resolve source maps to the original source
sourceMaps(),
terser(),
terser({ format: { comments: false } }),
license({
banner: {
commentStyle: 'regular',
Expand Down

0 comments on commit 6aad836

Please sign in to comment.