-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[3.0] Consider renaming polymer.js #4805
Comments
Why break everyone that need to stick with polymer 1 - 2 for a fair while ? |
This change--if we make it--wouldn't affect 1.x or 2.x at all--they import an html file, not a js file. You'll need to change how you import polymer when you go from 2 to 3 whether or not we make this change. |
ah i missed the .html and .js. Makes sense now. thanks @arthurevans |
Move backwards compatibility version to |
If we choose to do this, we can do it one of two ways: Hard-code a filename remapping in polymer-modulizer, or add the ability to make a directive in a file to have modulizer rename it: ie, in polymer-element.html: <!-- modulizer-rename: polymer.js --> |
(Blocked on Polymer/polymer-modulizer#354.) |
#367 is merged. |
The file
/polymer.html
was named so for backwards compatibility with Polymer 1.0, so that hybrid elements could use the same import. We don't have this constraint with 3.0, and could renamepolymer.js
topolymer-legacy.js
, which would allow us to create a newpolymer.js
with only modern exports.The text was updated successfully, but these errors were encountered: