From 85676e2b0ff0cd09fdf12740d4860eeb2819b2dd Mon Sep 17 00:00:00 2001 From: Kyle Holmberg Date: Tue, 7 Apr 2020 01:42:52 -0700 Subject: [PATCH] Exclude Storybook files in default config --- src/createRollupConfig.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/createRollupConfig.ts b/src/createRollupConfig.ts index eedc7dd5b..f61f827ad 100644 --- a/src/createRollupConfig.ts +++ b/src/createRollupConfig.ts @@ -154,6 +154,8 @@ export async function createRollupConfig( '**/*.test.ts', '**/*.spec.tsx', '**/*.test.tsx', + // storybook files + '**/*.stories.tsx', // TS defaults below 'node_modules', 'bower_components',