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

Make more browser compatible #15

Open
lastmjs opened this issue Mar 26, 2020 · 1 comment
Open

Make more browser compatible #15

lastmjs opened this issue Mar 26, 2020 · 1 comment

Comments

@lastmjs
Copy link

lastmjs commented Mar 26, 2020

Hey!

I don't use tools like Webpack or Parcel or Browserify or RequireJS, I'm trying to stay away from bundlers and keep my build process light (using tools like Zwitterion, and Snowpack only if necessary). It would be great if you could create an ES modules build that is ready to be run directly in current browsers without any modifications, except for leaving bare specifiers in place.

I'm having a very difficult time getting this package to work in the browser, because of all of the Node dependencies and some strange happenings with Rollup, which I wouldn't be using if the package were ready for the browser.

@fvictorio
Copy link

fvictorio commented Apr 4, 2020

Hey @lastmjs. I created a fork of this project and opened a PR for this. Eventually this will mean that the browser version will be published in npm, so you can use it with unpkg or just download it manually.

For the time being, I created a gist with the generated files. It worked for me when I included it a plain index.html, but could you please check if that is what you're looking for?

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