Skip to content

Commit

Permalink
Fix security warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbianca committed Jan 21, 2022
1 parent 7ce1965 commit 11635db
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 48 deletions.
150 changes: 105 additions & 45 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"rimraf": "^2.6.2",
"rollup": "^2.63.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.1",
"rollup-plugin-uglify": "^6.0.4",
"tslib": "^2.3.1",
"typescript": "^4.5.4"
},
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { resolve } from 'path';
import commonjs from '@rollup/plugin-commonjs';
import copy from 'rollup-plugin-copy';
import resolveModule from '@rollup/plugin-node-resolve';
import { terser } from 'rollup-plugin-terser';
import typescript from 'rollup-plugin-typescript2';
import { uglify } from 'rollup-plugin-uglify';

import pkg from './package.json';
import authPkg from './auth/package.json';
Expand Down Expand Up @@ -80,7 +80,7 @@ export default components
},
plugins: [
...plugins,
uglify(),
terser(),
// Copy flow files
copy({
[`${component}/index.js.flow`]: `${component}/dist/index.cjs.js.flow`,
Expand Down

0 comments on commit 11635db

Please sign in to comment.