diff options
Diffstat (limited to '.storybook/webpack.config.js')
-rw-r--r-- | .storybook/webpack.config.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/.storybook/webpack.config.js b/.storybook/webpack.config.js deleted file mode 100644 index e542f1387..000000000 --- a/.storybook/webpack.config.js +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | const path = require('path'); | ||
2 | |||
3 | module.exports = (baseConfig, env, config) => { | ||
4 | config.module.rules.push({ | ||
5 | test: /\.(ts|tsx)$/, | ||
6 | use: [{ | ||
7 | loader: require.resolve('awesome-typescript-loader'), | ||
8 | options: { | ||
9 | configFileName: path.join(__dirname, '..', 'tsconfig.storybook.json'), | ||
10 | } | ||
11 | }, { | ||
12 | loader: require.resolve('react-docgen-typescript-loader'), | ||
13 | }] | ||
14 | }); | ||
15 | config.resolve.extensions.push('.ts', '.tsx'); | ||
16 | return config; | ||
17 | }; | ||