-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with the npm package and vite/esbuild #64
Comments
I am facing the same problem with node + vite. vite.config.ts
npm run build
|
Sadly I haven't solved this. I also haven't really tried. Creating this issue was my last resort. Everything I tried before didn't work. Sadly none of the devs seem to pay attention or care about this. |
Thank you for contacting us. |
related: evanw/esbuild#1051 |
Thank you very much. |
@johnspurlock-skymethod can you help us with this? |
I can't get @deno/kv to work with vite nor esbuild.
With vite/rollup I get:
Which appears to be related to: vitejs/vite#3304 and vitejs/vite#12246. I don't know much else though. I am not very familiar with bundlers and all the cjs vs esm details. After all I tried I do think it's a thing about this package though.
With esbuild I get some other errors. I am mostly interested in getting it with vite to work though
A bit of context: I am writing an obsidian.md plugin. So all code gets bundled into a single main.js which then gets run by obsidian (an electron app).
The text was updated successfully, but these errors were encountered: