Skip to content

Commit

Permalink
Fix React Vanilla build
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sdirix committed Dec 22, 2021
1 parent 46fd051 commit 075bbc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vanilla/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const packageJson = require('./package.json');
const baseConfig = {
input: 'src/index.ts',
external: [
...Object.keys(packageJson.dependencies),
...Object.keys(packageJson.dependencies ?? {}),
...Object.keys(packageJson.peerDependencies),
'react',
/^lodash\/.*/,
Expand Down

0 comments on commit 075bbc4

Please sign in to comment.