Skip to content

Commit

Permalink
Update vite config for storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
fongsean committed May 20, 2024
1 parent cfee53d commit 642535f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/sdc-populate/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
"noUnusedParameters": true
},
"include": ["src"],
"exclude": ["src/**/*.test.ts", "lib"]
"exclude": ["src/test", "src/**/*.test.ts", "lib"]
}
4 changes: 3 additions & 1 deletion packages/smart-forms-renderer/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import { defineConfig } from 'vite';

// This Vite config is for storybook usage only.
// https://vitejs.dev/config/
export default defineConfig({
plugins: [],
Expand All @@ -27,5 +28,6 @@ export default defineConfig({
commonjsOptions: {
include: [/node_modules/, '@aehrc/sdc-populate']
}
}
},
resolve: { preserveSymlinks: true }
});

0 comments on commit 642535f

Please sign in to comment.