-
Notifications
You must be signed in to change notification settings - Fork 200
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
Polymer 2.0 Build Permutations and Improvements #2315
Comments
@FredKSchott will this allow me to add Also, could you add |
Btw, it will be great if I can define either For example, one of my case I have to support IE11, but I don't want to ship the same version of the Javascript file for the modern browsers. They have almost 100% of ES6 support, so the trade off is big 😢 |
@yordis supporting multiple builds is the plan (see list above). Once this is done we can look into supporting the ability to pass in your own .babelrc file. We really want to support that, but it's a bit of a foot-gun because the modules transform that is a part of |
@FredKSchott I didn't understand the concern about the module transform. Also, you don't need to even pass the This is the Babel code |
Modules and classic scripts have differences that cause problems when interpreting a script as module. The one I already hit in some testing libraries is that top-level The compilation feature might make more sense when you view it as leveling the language features available supported browsers, not providing configurable language transforms like Babel in general. We want to be able to send uncompiled source to the latest browsers, so we can't support features that they don't. |
bundle
&unbundle
builds as default [polymer-test] error with Chrome 66 and 67 #509--bundle
build flag [polymer-test] error with Chrome 66 and 67 #509--insert-dependency-links
to--insert-prefetch-links
[WCT] Mocha slow api is ineffective #510--js-compile
build flag [wct] {clientOptions: environmentScripts } can't be overriden anymore #525--add-service-worker
build flag [WCT] Corrected environment scripts handling #534next
release)--polyfill=['none'|'partial'|'full']
build flagThe text was updated successfully, but these errors were encountered: