Skip to content

Commit 53f6b5a

Browse files
committed
Fix tools build as an ES module
- Exports under tools build were not working after the package was updated to be an ES module
1 parent fbcc076 commit 53f6b5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/vite.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default defineConfig({
55
build: {
66
emptyOutDir: false,
77
lib: {
8+
formats: ['es'],
89
entry: {
910
'fastApi/adapter': resolve(__dirname, 'api/fastApi/adapter.js'),
1011
'fastApi/vue-composable': resolve(__dirname, 'api/fastApi/vue-composable.js'),

0 commit comments

Comments
 (0)