Skip to content

Commit

Permalink
build(development): build object is undefined in dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
rwieruch committed Apr 13, 2023
1 parent c634c0c commit dbd5fe3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ module.exports = {
return {
...config,
build: {
...config.build,
...(config?.build ?? {}),
// https://github.com/storybookjs/builder-vite/issues/409
// https://github.com/vitejs/vite/issues/2433
sourcemap: false,
// minify: false,
rollupOptions: {
...config.build.rollupOptions,
...(config?.build?.rollupOptions ?? {}),
maxParallelFileOps: 2,
cache: false,
output: {
Expand All @@ -46,7 +46,7 @@ module.exports = {
},
},
resolve: {
...config.resolve,
...(config?.resolve ?? {}),
alias: [
{
find: '@table-library/react-table-library/types',
Expand Down

0 comments on commit dbd5fe3

Please sign in to comment.