Skip to content

Commit

Permalink
fix(build): correct config for ESM release only
Browse files Browse the repository at this point in the history
  • Loading branch information
Saifullah-dev committed Sep 7, 2024
1 parent 56e4844 commit fbb6e5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export default defineConfig({
entry: "./src/index.js",
name: "ReactFileManager",
fileName: (format) => `react-file-manager.${format}.js`,
formats: ["es"],
},
rollupOptions: {
external: ["react", "react-dom"],
Expand Down

0 comments on commit fbb6e5c

Please sign in to comment.