Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update storybook config

dominik-zeglen64214aa2ab81
diff --git a/saleor/static/dashboard-next/storybook/webpack.config.js b/saleor/static/dashboard-next/storybook/webpack.config.js
index 0d43178042..1e2cdb04b5 100644
--- a/saleor/static/dashboard-next/storybook/webpack.config.js
+++ b/saleor/static/dashboard-next/storybook/webpack.config.js
@@ -2,7 +2,7 @@
const CheckerPlugin = require("fork-ts-checker-webpack-plugin");
const TsconfigPathsPlugin = require("tsconfig-paths-webpack-plugin");
-module.exports = (baseConfig, env, config) => {
+module.exports = ({ config }) => {
config.module.rules.push({
test: /\.tsx?$/,
exclude: /node_modules/,