Skip to content

Commit 2eae4fd

Browse files
committed
chore: update usage
1 parent f8cad02 commit 2eae4fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rollup.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { babel } from '@rollup/plugin-babel'
22
import { nodeResolve } from '@rollup/plugin-node-resolve'
33
import builtins from 'builtin-modules'
4-
import { readPackageAsync } from 'read-pkg'
4+
import { readPackage } from 'read-pkg'
55
import dts from 'rollup-plugin-dts'
66
import { visualizer } from 'rollup-plugin-visualizer'
77

@@ -63,7 +63,7 @@ const getConfig = (pkg, isBrowser = false) => {
6363
}
6464

6565
export default async () => {
66-
const pkg = await readPackageAsync()
66+
const pkg = await readPackage()
6767

6868
const doesAlsoTargetBrowser = 'browser' in pkg
6969

0 commit comments

Comments
 (0)