From 6aecbc15df06525164492ccd3359f4322e4e087b Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 28 Mar 2019 09:47:02 +0800 Subject: [PATCH] Merge pull request #6324 from mikach/patch-3 Clean up unused code --- docs/src/pages/configurations/typescript-config/index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/src/pages/configurations/typescript-config/index.md b/docs/src/pages/configurations/typescript-config/index.md index fddcd650f87e..4d9813d7020c 100644 --- a/docs/src/pages/configurations/typescript-config/index.md +++ b/docs/src/pages/configurations/typescript-config/index.md @@ -24,8 +24,7 @@ We have had the best experience using `awesome-typescript-loader`, but other tut We first have to use the [custom Webpack config in full control mode, extending default configs](/configurations/custom-webpack-config/#full-control-mode--default) by creating a `webpack.config.js` file in our Storybook configuration directory (by default, it’s `.storybook`): ```js -const path = require('path'); -module.exports = ({ config, mode }) => { +module.exports = ({ config }) => { config.module.rules.push({ test: /\.(ts|tsx)$/, use: [