Skip to content
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

Distribution / lib files missing since 1.14.0 #6747

Open
maerteijn opened this issue Dec 3, 2024 · 2 comments
Open

Distribution / lib files missing since 1.14.0 #6747

maerteijn opened this issue Dec 3, 2024 · 2 comments

Comments

@maerteijn
Copy link

Describe the bug
Since the release of 1.14.0, the web/dist/libs/editor and web/dist/libs/datamanager directories in the releases are empty.

1.14.0:
image

1.13.1:
image

This is also to be seen in the file size of the archives which can be downloaded:

1.14.0:
image

1.13.1:
image

Is there a reason why all the lib assets are not shipped anymore with the release?

@heidi-humansignal
Copy link
Collaborator

Hi there!

Thanks for reporting this! After discussing this with our engineering team, they were interested in your usecase. These files were removed as part of a change to the infrastructure of the package, which ultimately reduced the package size by about 20MB, as we moved it into a monorepo approach. Can you describe what you were utilizing those files for?

Thanks,

Tyler Conlee
Head of Support
HumanSignal

Comment by Tyler Conlee
Workflow Run

@maerteijn
Copy link
Author

maerteijn commented Dec 11, 2024

Hi @heidi-humansignal,

Thank you for your message!

We use the stand alone editor in one of our projects, and we directly include these built assets from the lib/editor directory:

<html>
...
<script src="main.js"></script>
<link rel="stylesheet" href="main.css">
...
</html>

Then we can directly use the editor by using the following (as in the documentation) without any frontend building:

var labelStudio = new LabelStudio("editor", options);

I'd happy to know how this should be done now (and this might be useful to add in the documentation?)

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

No branches or pull requests

2 participants