From 53f6b5ae5cac82bcc2c316403b833f64c2c7c038 Mon Sep 17 00:00:00 2001 From: Arnau Giralt Date: Mon, 10 Feb 2025 22:25:27 +0100 Subject: [PATCH] Fix tools build as an ES module - Exports under tools build were not working after the package was updated to be an ES module --- tools/vite.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/vite.config.js b/tools/vite.config.js index 5d31015a..6f996d2b 100644 --- a/tools/vite.config.js +++ b/tools/vite.config.js @@ -5,6 +5,7 @@ export default defineConfig({ build: { emptyOutDir: false, lib: { + formats: ['es'], entry: { 'fastApi/adapter': resolve(__dirname, 'api/fastApi/adapter.js'), 'fastApi/vue-composable': resolve(__dirname, 'api/fastApi/vue-composable.js'),