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
Support for external deps #27
Comments
Imagine I want to dedupe <script type="text/javascript" src="http://localhost:9000/babel-types"></script>
<script type="text/javascript" src="http://localhost:9000/babel-plugin-ivi-jsx"></script> When I declare Maybe we could generate a fake package called Do you have an idea? |
What about allowing externals to be passed as querystring parameters? For example
|
Yeah, configuration is only possible through query parameters (because of the CDN). I planned something like this: I don't get how browserify is working with externals, they are not passed as arguments as with Rollup. Maybe @Rich-Harris could help us here. |
This seems like a good. Afraid I have no idea how to make it work with Browserify! 😬 |
Our project is using browserify, you may want to take a look at the |
We need this for the Babel REPL. Since Browserify is only used as a fallback, I think it's fine to support externals only when you bundle with Rollup (and your module supports it). |
Well now we have a PR #37 but I don't get it, it can't work. If someone has the time to look at it 🙏 |
Following the discussion from babel/website#1302.
It would be great to allow externals for both Browserify and Rollup. What do you think @Rich-Harris?
PS: i'm working on it
The text was updated successfully, but these errors were encountered: