From c3de9fdd7646ad7939b03e6b5c57655b5387eeef Mon Sep 17 00:00:00 2001 From: Katerina Skroumpelou Date: Wed, 25 Jan 2023 17:43:25 +0200 Subject: [PATCH] fix(storybook): react plugin sourcemap type (#14600) Co-authored-by: Bashkim Isai --- packages/react/plugins/storybook/index.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/react/plugins/storybook/index.ts b/packages/react/plugins/storybook/index.ts index 355eae6025..86e2e488b1 100644 --- a/packages/react/plugins/storybook/index.ts +++ b/packages/react/plugins/storybook/index.ts @@ -85,12 +85,7 @@ export const webpack = async ( projectRoot: '', sourceRoot: '', fileReplacements: [], - sourceMap: { - hidden: false, - scripts: true, - styles: true, - vendors: false, - }, + sourceMap: true, styles: options.styles ?? [], optimization: {}, tsConfig: tsconfigPath,