Skip to content

Commit

Permalink
chore(config): update build config
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed Jan 3, 2022
1 parent a81400d commit 4b6e8cf
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,21 @@ import { defineBuildConfig } from 'unbuild'

export default defineBuildConfig({
declaration: true,
inlineDependencies: true,
entries: [{ input: 'src/index.ts', outDir: 'dist', name: 'index' }],
externals: ['csstype', '@vueuse/shared', 'framesync', 'style-value-types'],
entries: [
{ input: 'src/index.ts', outDir: 'dist', name: 'index' },
{
input: 'src/ssr/index.ts',
outDir: 'dist',
name: 'ssr',
},
],
externals: [
'csstype',
'@vueuse/shared',
'framesync',
'style-value-types',
'@vue/compiler-core',
'@babel/parser',
'@vue/shared',
],
})

0 comments on commit 4b6e8cf

Please sign in to comment.