diff --git a/docs/snippets/common/storybook-main-ts-module-resolution.js.mdx b/docs/snippets/common/storybook-main-ts-module-resolution.js.mdx index 20fbcf426975..032e0aa9005a 100644 --- a/docs/snippets/common/storybook-main-ts-module-resolution.js.mdx +++ b/docs/snippets/common/storybook-main-ts-module-resolution.js.mdx @@ -1,6 +1,8 @@ ```js // .storybook/main.js +const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin'); + module.exports = { webpackFinal: async (config) => { config.resolve.plugins = [ @@ -12,4 +14,4 @@ module.exports = { return config; }, }; -``` \ No newline at end of file +```