Open Pcrab opened 10 months ago
Heya! I looked at your PR and I can't say for sure if it'll be accepted. I'll have to check in other projects to know if it is an actual convention or format to have .umd.cjs
as extension. This will take longer than usual as I'm occupied with other things as well.
When I tried to use fzf in a commonjs package, it always throws
I've read https://github.com/ajitid/fzf-for-js/issues/85, if I change my package to esm, this can be solved, but the package must finally be compiled to a cjs format.
This can be fixed if the umd format dist file is renamed to
fzf.umd.cjs
since"type": "module"
is added at the end ofpackage.json
.changes to package.json
changes to vite-legacy.config.ts