Skip to content

Conversation

RiverTwilight
Copy link

I just create a single bundle file for browser usage , which make using with CDN or a single <script> tag possible.

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>My App</title>
</head>
<body>
  <script src="bundle.js"></script>
  <script>
    const input = "https://rollupjs.org/introduction/";
    ArticleExtractor.extract(input)
      .then(result => console.log("Extracted result:", result))
      .catch(error => console.error("Error:", error));
  </script>
</body>
</html>

To re-create bundle simply run:

rollup -c

@ndaidong
Copy link
Collaborator

@RiverTwilight thank you for your pr. However I'm rebuilding this package using TypeScript and DNT. Please wait for the next release.

@RiverTwilight
Copy link
Author

RiverTwilight commented Jun 7, 2025

@RiverTwilight thank you for your pr. However I'm rebuilding this package using TypeScript and DNT. Please wait for the next release.

Hi @ndaidong, how's it going? Seems that many version have released.

Will you consider to continue this PR?

@ndaidong
Copy link
Collaborator

ndaidong commented Jun 7, 2025

@RiverTwilight I don't have plan to merge this pr. Still looking for availabe time to build a full typescript version.

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.

2 participants