Skip to content

Commit

Permalink
feat: remove lodash
Browse files Browse the repository at this point in the history
  • Loading branch information
TimBeyer committed Nov 25, 2020
1 parent e9dff46 commit 190f4e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
},
"dependencies": {
"fast-copy": "^2.1.0",
"lodash": "^4.17.10",
"qs": "^6.5.2"
},
"devDependencies": {
Expand Down
12 changes: 5 additions & 7 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import pkg from './package.json';
import babel from 'rollup-plugin-babel';
import pkg from './package.json'
import babel from 'rollup-plugin-babel'

export default [
{
input: 'lib/index.js',
output: [
{ file: pkg.module, format: 'esm' },
{ file: pkg.main, format: 'cjs' },
{ file: pkg.main, format: 'cjs' }
],
plugins: [
babel({
Expand All @@ -20,9 +20,7 @@ export default [
],
external: [
...Object.keys(pkg.dependencies || []),
'os',
'lodash/isPlainObject',
'lodash/cloneDeep'
'os'
]
}
];
]

0 comments on commit 190f4e0

Please sign in to comment.