Skip to content

Commit

Permalink
fix(utils): Fix storybook __DEV__ exception (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
voronianski authored Sep 30, 2019
1 parent a04781a commit b9f4d12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .storybook/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ module.exports = ({ config, mode }) => {

config.plugins.push(
new webpack.DefinePlugin({
__DEV__: JSON.stringify(true), // show deprecation warnings in storybook
STORYBOOK: JSON.stringify(true),
PRODUCTION: JSON.stringify(isProduction)
})
Expand Down

0 comments on commit b9f4d12

Please sign in to comment.