Skip to content

Commit

Permalink
fix: pmndrs#89
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Lebaudy committed Jul 5, 2022
1 parent be4dd26 commit d80c348
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions rollup/config.lib.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
// Vendor
import json from '@rollup/plugin-json';
import resolve from '@rollup/plugin-node-resolve';
import { ModuleFormat, RollupOptions } from 'rollup';
import copy from 'rollup-plugin-copy';
import commonjs from 'rollup-plugin-commonjs';
import json from '@rollup/plugin-json';
import copy from 'rollup-plugin-copy';
import filesize from 'rollup-plugin-filesize';
import resolve from '@rollup/plugin-node-resolve';
import sourcemaps from 'rollup-plugin-sourcemaps';
import { terser } from 'rollup-plugin-terser';
import typescript from 'rollup-plugin-typescript2';

const formats: ModuleFormat[] = ['esm', 'umd'];
Expand All @@ -21,11 +20,6 @@ export default formats.map(
sourcemap: true,
},
plugins: [
terser({
format: {
comments: false,
},
}),
filesize(),
typescript(
['esm'].includes(format)
Expand Down

0 comments on commit d80c348

Please sign in to comment.