Skip to content

Rework build process#19

Open
CGNonofr wants to merge 5 commits into
microsoft:mainfrom
CodinGame:rework-build-process
Open

Rework build process#19
CGNonofr wants to merge 5 commits into
microsoft:mainfrom
CodinGame:rework-build-process

Conversation

@CGNonofr

Copy link
Copy Markdown

The Goal of this PR is fix those issues:

  • The library only exports the code in UMD format
  • When using it in the browser, the code contains references to fs and path directly and also includes the node version of tensorflow that imports crypto)

What the PR does:

  • It replaces webpack with rollup to be able to output ESM
  • it exports 3 formats:
    • The current node UMD format for backward compability (with same format/terser configuration/sourcemap)
    • A new node ESM format
    • A new browser ESM format

@CGNonofr

CGNonofr commented Mar 6, 2024

Copy link
Copy Markdown
Author

Is there anything I can do to help moving forward on it?

@CGNonofr CGNonofr force-pushed the rework-build-process branch from 7cd5320 to 7b3c7bb Compare April 15, 2024 16:57
@CGNonofr

CGNonofr commented Jun 5, 2024

Copy link
Copy Markdown
Author

up?

@CGNonofr

CGNonofr commented Feb 7, 2025

Copy link
Copy Markdown
Author

is this project unmaintained?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant