Skip to content

Commit

Permalink
update build config
Browse files Browse the repository at this point in the history
  • Loading branch information
robphoenix committed Sep 19, 2024
1 parent 61e9e80 commit 36b0c7b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/web-ui/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"node_modules",
"storybook-static",
"src/**/*.stories.tsx",
"src/**/*.figma.tsx",
"src/storybook-utils"
]
}
7 changes: 6 additions & 1 deletion packages/web-ui/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ export default defineConfig([
skipNodeModulesBundle: true,
target: 'es2020',
outDir: 'dist',
entry: ['./src/**/*.ts?(x)', '!src/**/*.stories.*', '!src/storybook-utils'],
entry: [
'./src/**/*.ts?(x)',
'!src/**/*.stories.*',
'!src/storybook-utils',
'!src/**/*.figma.tsx',
],
tsconfig: path.join(__dirname, './tsconfig.build.json'),
},
]);

0 comments on commit 36b0c7b

Please sign in to comment.