Skip to content

Commit 2b07c7b

Browse files
committed
chore: update rollup plugins
1 parent 10d98ab commit 2b07c7b

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@
7777
"@fisker/husky-config": "1.1.5",
7878
"@fisker/lint-staged-config": "1.0.8",
7979
"@fisker/prettier-config": "1.0.24",
80+
"@rollup/plugin-json": "4.0.0",
81+
"@rollup/plugin-node-resolve": "6.0.0",
8082
"ava": "2.4.0",
8183
"c8": "6.0.1",
8284
"cz-conventional-changelog": "3.0.2",
@@ -91,9 +93,6 @@
9193
"prettier": "1.19.1",
9294
"rollup": "1.27.8",
9395
"rollup-plugin-commonjs": "10.1.0",
94-
"rollup-plugin-filesize": "6.2.1",
95-
"rollup-plugin-json": "4.0.0",
96-
"rollup-plugin-node-resolve": "5.2.0",
9796
"sort-package-json": "1.30.0"
9897
},
9998
"publishConfig": {

rollup.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import cjs from 'rollup-plugin-commonjs'
2-
import json from 'rollup-plugin-json'
3-
import filesize from 'rollup-plugin-filesize'
2+
// eslint-disable-next-line import/no-unresolved
3+
import json from '@rollup/plugin-json'
44
import {dependencies} from './package.json'
55

6-
const plugins = [cjs(), json(), filesize()]
6+
const plugins = [cjs(), json()]
77

88
const external = ['path', 'fs', ...Object.keys(dependencies)]
99

0 commit comments

Comments
 (0)