Skip to content

Commit

Permalink
check only on dev
Browse files Browse the repository at this point in the history
  • Loading branch information
dtassone committed Sep 11, 2020
1 parent 4dcdeb9 commit e08ba66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/storybook/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ module.exports = {
'@storybook/addon-storysource/register',
'@storybook/addon-a11y/register',
],
// typescript: {
// check: true,
// },
typescript: {
check: __DEV__, // Netlify is breaking the deploy with this settings on. So deactivate on release

This comment has been minimized.

Copy link
@oliviertassinari

oliviertassinari Sep 11, 2020

Member

Why does it fail?

This comment has been minimized.

Copy link
@dtassone

dtassone Sep 11, 2020

Author Member

It's because he can't find the packages @material-ui/x-grid...
Not sure why

This comment has been minimized.

Copy link
@oliviertassinari

oliviertassinari Sep 11, 2020

Member

something wrong in the configuration of tsconfig?

},
webpackFinal: async config => {
config.devtool = __DEV__ ? 'inline-source-map' : undefined;
config.module.rules.push({
Expand Down

0 comments on commit e08ba66

Please sign in to comment.