We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c634c0c commit dbd5fe3Copy full SHA for dbd5fe3
.storybook/main.js
@@ -26,13 +26,13 @@ module.exports = {
26
return {
27
...config,
28
build: {
29
- ...config.build,
+ ...(config?.build ?? {}),
30
// https://github.com/storybookjs/builder-vite/issues/409
31
// https://github.com/vitejs/vite/issues/2433
32
sourcemap: false,
33
// minify: false,
34
rollupOptions: {
35
- ...config.build.rollupOptions,
+ ...(config?.build?.rollupOptions ?? {}),
36
maxParallelFileOps: 2,
37
cache: false,
38
output: {
@@ -46,7 +46,7 @@ module.exports = {
46
},
47
48
resolve: {
49
- ...config.resolve,
+ ...(config?.resolve ?? {}),
50
alias: [
51
{
52
find: '@table-library/react-table-library/types',
0 commit comments