-
Notifications
You must be signed in to change notification settings - Fork 15
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
Browserify the code? #13
Comments
I want to keep it super simple for the moment. As bugs are ironed out and 1.0 is released, I'll start exploring if there's a simple way to support modules. Thanks for your feedback! :) |
+1 on this feature request - would be fantastic. Currently, I really love this project, but I can't use it anywhere except the simplest landing pages. |
Noted. I've given this a post-v1.0 milestone tag. I'll reopen and re-investigate once 1.0 is released. For now, I'm keeping any issue that is post 1.0 closed. |
And what is the easiest ways to make it work? Thank you. |
@Daidalos117 I suppose integrating |
Another option for those who are just using Pingy as a quick prototyping tool, would be to offer a Javascript option that leverages native ES Modules support in bleeding-edge browsers, by using <script type="module" src="module.js"></script> REF: https://medium.com/dev-channel/es6-modules-in-chrome-canary-m60-ba588dfb8ab7 |
It seems you can add a EDIT: just tested this, can confirm it works fine in Chrome 61+. The catch is that you cannot leave off the |
Thanks @lunelson, that's very helpful. |
Glad to help. The only snag seems to be that changes to |
Ah, I'll consider that a bug and create an issue for it. Thanks! |
First of all - thanks for a great tool, which will come in handy many times for smaller projects (like landing pages and so on.
But I really wish that you would browserify the code, so I could
import React from 'react'
for example.If I'm doing something wrong - it'll be cool to know
The text was updated successfully, but these errors were encountered: