diff --git a/packages/sdc-populate/tsconfig.json b/packages/sdc-populate/tsconfig.json index 4245d3f9c..d3e781730 100644 --- a/packages/sdc-populate/tsconfig.json +++ b/packages/sdc-populate/tsconfig.json @@ -24,5 +24,5 @@ "noUnusedParameters": true }, "include": ["src"], - "exclude": ["src/**/*.test.ts", "lib"] + "exclude": ["src/test", "src/**/*.test.ts", "lib"] } diff --git a/packages/smart-forms-renderer/vite.config.ts b/packages/smart-forms-renderer/vite.config.ts index e9c49e18a..74dd5344a 100644 --- a/packages/smart-forms-renderer/vite.config.ts +++ b/packages/smart-forms-renderer/vite.config.ts @@ -17,6 +17,7 @@ import { defineConfig } from 'vite'; +// This Vite config is for storybook usage only. // https://vitejs.dev/config/ export default defineConfig({ plugins: [], @@ -27,5 +28,6 @@ export default defineConfig({ commonjsOptions: { include: [/node_modules/, '@aehrc/sdc-populate'] } - } + }, + resolve: { preserveSymlinks: true } });