Skip to content

Commit

Permalink
feat(build): ignore test + story files in runtime/ directory (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Jan 6, 2025
1 parent 5b1f00e commit ccefe68
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/commands/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ export default defineCommand({
outDir: `${outDir}/runtime`,
addRelativeDeclarationExtensions: true,
ext: 'js',
pattern: [
'**',
'!**/*.stories.{js,cts,mts,ts,jsx,tsx}', // ignore storybook files
'!**/*.{spec,test}.{js,cts,mts,ts,jsx,tsx}', // ignore tests
],
esbuild: {
jsxImportSource: 'vue',
jsx: 'automatic',
Expand Down

0 comments on commit ccefe68

Please sign in to comment.