Skip to content

Commit

Permalink
chore: change build to normal bundle for unjs/unbuild#201
Browse files Browse the repository at this point in the history
  • Loading branch information
NamesMT committed Nov 24, 2023
1 parent fe0959a commit ec87afb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import sharedConfig from './shared.config'
export default defineBuildConfig({
entries: [
// normal bundles
// 'src/index',
'src/index',

// file-to-file (please use .mts for all of your files), currently mkdist uncontrollably generates .d.ts and .d.mts based on the original extension: .ts or .mts
{
builder: 'mkdist',
input: './src/',
esbuild: { minify: true },
},
// {
// builder: 'mkdist',
// input: './src/',
// esbuild: { minify: true },
// },
],
declaration: 'node16',
clean: true,
Expand Down

0 comments on commit ec87afb

Please sign in to comment.