From 4b6e8cfd35ae0f799fb70a819f8599c748b44735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yae=CC=88l=20GUILLOUX?= Date: Sun, 2 Jan 2022 00:41:39 +0100 Subject: [PATCH] chore(config): update build config --- build.config.ts | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/build.config.ts b/build.config.ts index daba21e2..d2b1aa44 100644 --- a/build.config.ts +++ b/build.config.ts @@ -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', + ], })