Skip to content

Commit 075bbc4

Browse files
committed
Fix React Vanilla build
Lerna removed the empty dependency attribute of the React Vanilla package.json during the release. The React Vanilla rollup build tried to access this attribute and therefore crashed. This is now fixed.
1 parent 46fd051 commit 075bbc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vanilla/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const packageJson = require('./package.json');
77
const baseConfig = {
88
input: 'src/index.ts',
99
external: [
10-
...Object.keys(packageJson.dependencies),
10+
...Object.keys(packageJson.dependencies ?? {}),
1111
...Object.keys(packageJson.peerDependencies),
1212
'react',
1313
/^lodash\/.*/,

0 commit comments

Comments
 (0)