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

Exporting to js file? #3

Closed
alienfacepalm opened this issue Nov 12, 2019 · 4 comments
Closed

Exporting to js file? #3

alienfacepalm opened this issue Nov 12, 2019 · 4 comments
Assignees
Labels
accepted Accepted for development documentation Improvements or additions to documentation

Comments

@alienfacepalm
Copy link

Is there a way to export this as a bundled js file kinda like Stencil?

@gino8080
Copy link

same important question

@aveiga
Copy link

aveiga commented May 20, 2020

Hi @gino8080 and @alienfacepalm,

I've stumbled through this while searching for something else... I'm doing the bundling and exporting to a single JS file using Rollup. Here's my rollup.config.js.

@justinbmeyer
Copy link
Member

It already is a bundled file: https://unpkg.com/react-to-webcomponent/dist/react-to-webcomponent.js. Is this what you are looking for?

@justinbmeyer
Copy link
Member

We will put a link to this on the readme so people know about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Accepted for development documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

6 participants