Skip to content

Commit

Permalink
Support TS extensions.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterp committed Jun 23, 2020
1 parent bdaef74 commit 21228b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/config/storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { getPaths } = require('@redwoodjs/internal')
const { getStyleLoaders, getSharedPlugins } = require('../webpack.common')

module.exports = {
stories: [`${getPaths().web.src}/**/*.stories.[tj]s`],
stories: [`${getPaths().web.src}/**/*.stories.{tsx,jsx,js}`],
webpackFinal: (storyBookConfig, { configType }) => {
const ourWebpackConfig =
configType === 'development'
Expand Down

0 comments on commit 21228b5

Please sign in to comment.