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

Load HTML to TEXT on a html file, without node and without composer. #292

Open
Schiocco opened this issue May 26, 2023 · 3 comments
Open

Comments

@Schiocco
Copy link

I think the software is great, but it seems like composer is becoming the go-to option for everything nowadays. However, I believe that using composer to include projects for the web can be quite challenging and time-consuming.

Is there a way to load this script normally by including a script like this?

<script src="/base/src/html-to-text.js"></script>

It would take 1 second instead of 1 hour...

Thank you!

@KillyMXI
Copy link
Member

I don't speak this language.
Explain it like I'm five I've never worked with frontend (which is pretty accurate).

@KillyMXI
Copy link
Member

I got that you need a bundled package.

Someone else mentioned https://esm.sh/ - that might be helpful, but I haven't used it myself to be sure.

Are there best practices to publish bundled packages for the web?
I can see how to produce a bundle as a separate build step, but what the best place to host it - I'll have to explore the options.

@gioppoluca
Copy link

+1 for me; publishing a release here on GIT could be a good start I'll just download and use it within my projects.
If the import could be a ESM format it would be great
Thanks

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

3 participants