-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Issue when trying to run esbuild bundle #7380
Comments
I never heard of esbuild, but it seems it's an bundler like webpack etc. ? @LukaszPiatkowski27 i guess you already tried to find a solution on google or in the esbuild community ? |
FWIW esbuild is at least used by vite, and other bundlers if I recall correctly. That said, it looks like boostrap-table is missing a dependency on core-js. My copy of |
@UtechtDustin Yes, It's a bundler, webpack alternative. |
Oh okay, thanks for the informations! The Problem is i can't submit a PR for that, as the bootstrap-table currently uses yarn as dependency manager and i stopped using yarn 2 years ago and switched back to npm. As i don't see huge advantages to use yarn instead of npm right now. We just add a layer on top (also the installation and version management is quit shit - in my opinion - on the newest yarn version). |
Any update on this? IMHO a separate issue should be opened to discuss package manager preferences and in the meantime the proper dependencies can be added using yarn. |
I have not used However, I followed the following steps to test it: Create a file import 'bootstrap-table' I think you can solve your problem using the following method, and I will also investigate whether there is a better way. You can add
|
@wenzhixin |
My idea is to improve the build script without dependency on core-js. |
Adding |
I'm sorry, @UtechtDustin, for the oversight. I forgot to respond to you on this matter. I switched to using yarn a few years ago after encountering some issues with npm and have been using it ever since. This includes my work environment and open-source projects, where I consistently use yarn. As far as I understand, using yarn or npm for different projects should be possible. You can install yarn by running |
Bootstraptable version(s) affected
1.23.0
Description
trying to run this command
esbuild app/javascript/*.* --bundle --sourcemap --outdir=app/assets/builds --public-path=/assets
throws the following error:
Using version 1.22.6 there is no issue
Example(s)
No response
Possible Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: