Skip to content

Commit

Permalink
chore: fix example package build system
Browse files Browse the repository at this point in the history
  • Loading branch information
productdevbook committed Aug 26, 2023
1 parent 38f88c9 commit 80892ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
9 changes: 2 additions & 7 deletions packages/example-package/build.config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import { defineBuildConfig } from 'unbuild'

const isClean = (process.env.CLEAN || 'false') === 'true'
export default defineBuildConfig({
entries: [
{
builder: 'mkdist',
input: './src/',
pattern: ['**/!(*.test|*.stories).ts'],
},
],
declaration: true,
clean: isClean,
})
21 changes: 0 additions & 21 deletions packages/example-package/tsup.config.ts

This file was deleted.

0 comments on commit 80892ef

Please sign in to comment.