Skip to content

Commit 5ee5915

Browse files
committed
fix(ComponentExample): fix module definition for an editor
1 parent 63c7ede commit 5ee5915

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/src/components/ComponentDoc/ExampleEditor/renderConfig.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ export const externals = {
2424
required: false,
2525
version: pkg.devDependencies.faker,
2626
},
27-
lodash: require('lodash'),
27+
lodash: {
28+
module: require('lodash'),
29+
required: false,
30+
version: pkg.dependencies.lodash,
31+
},
2832
'prop-types': {
2933
module: PropTypes,
3034
required: false,

0 commit comments

Comments
 (0)