-
Notifications
You must be signed in to change notification settings - Fork 1k
[v4] Switch build system to use esbuild #1466
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
base: v4
Are you sure you want to change the base?
Conversation
|
Amazing -- I will be testing this out in the next few days! 😍 |
xenova
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! Good start 👍
| contents: ` | ||
| const noop = () => {}; | ||
| const emptyObj = {}; | ||
| export default emptyObj; | ||
| export const Readable = { fromWeb: noop }; | ||
| export const pipeline = noop; | ||
| export const createWriteStream = noop; | ||
| export const createReadStream = noop; | ||
| ` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this be added one, or for each module we will ignore? 👀
| const ORT_JSEP_FILE = 'ort-wasm-simd-threaded.jsep.mjs'; | ||
| const ORT_BUNDLE_FILE = 'ort.bundle.min.mjs'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[WIP] How do we ensure this is bundled with the main library, enabling #1471
| logOverride: { | ||
| "empty-import-meta": "silent", | ||
| }, | ||
| }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment as above RE: duplication.
Maybe we can also consolidate dev and build logic to reduce duplication
No description provided.