diff --git a/vite.config.js b/vite.config.js index 24d7515ad..16853f9d8 100644 --- a/vite.config.js +++ b/vite.config.js @@ -13,7 +13,7 @@ export default defineConfig({ entry: path.resolve(__dirname, "src/index.js"), name: "XolaUIKit", fileName: (format) => `ui-kit.${format}.js`, - formats: ["es"] + formats: ["es", "umd"] }, rollupOptions: {