Skip to content

Commit

Permalink
Remove all storybook test
Browse files Browse the repository at this point in the history
  • Loading branch information
victortrinh2 committed Nov 21, 2024
1 parent 1f29cc7 commit 8986c5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 817 deletions.
21 changes: 1 addition & 20 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ const storybookConfig: StorybookConfig = {
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/addon-webpack5-compiler-swc",
"@chromatic-com/storybook"
"@storybook/addon-webpack5-compiler-swc"
],
framework: "@storybook/react-webpack5",
core: {
Expand Down Expand Up @@ -88,24 +87,6 @@ const storybookConfig: StorybookConfig = {
]
};

config.devtool = false;

/**
* This block of code addresses build process issues.
*
* Minimize the bundle size to prevent Netlify from hanging at the "Sealing asset processing TerserPlugin" step.
*/
config.optimization = {
minimize: false
};

config.performance = {
...config.performance,
hints: false,
maxEntrypointSize: 512000,
maxAssetSize: 512000
};

return config;
}
};
Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
},
"devDependencies": {
"@changesets/cli": "2.27.9",
"@chromatic-com/storybook": "3.2.2",
"@hopper-ui/icons": "2.8.4",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
"@storybook/addon-a11y": "8.4.2",
Expand All @@ -60,8 +59,6 @@
"@storybook/blocks": "8.4.2",
"@storybook/react": "8.4.2",
"@storybook/react-webpack5": "8.4.2",
"@storybook/test": "8.4.2",
"@storybook/test-runner": "0.19.1",
"@storybook/types": "8.4.2",
"@svgr/core": "6.5.1",
"@swc/core": "1.7.36",
Expand All @@ -84,7 +81,7 @@
"@workleap/typescript-configs": "3.0.2",
"browserslist": "4.24.0",
"chalk": "4.1.2",
"chromatic": "11.18.1",
"chromatic": "^11.18.1",
"copyfiles": "2.4.1",
"cross-env": "7.0.3",
"csstype": "*",
Expand Down
Loading

0 comments on commit 8986c5e

Please sign in to comment.