Skip to content

Commit f5a6f97

Browse files
authored
Merge pull request #106 from cloudblue/fix/fix-tools-build-as-esmodule
Fix tools build as an ES module
2 parents fbcc076 + 53f6b5a commit f5a6f97

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)