Repository navigation
Conversation
Member
|
Hm, seems unexpected? Does the image cause problems? 😬 I'll need to update https://madhatted.com/2017/6/16/building-a-progressive-web-app-with-ember if this lands. But that is obviously not a very good reason to block. |
Collaborator
Author
|
@mixonic I accidentally submitted the PR before writing the description, updated |
Member
|
closing due to inactivity |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This addon should likely generate the component files in-place instead of the current setup.
This would address the problem of having to have logic to strip the assets from production builds, as well as having a flag to actually ship them to production. At the moment, doing a
-prodbuild of an Ember CLI "hello world" results in an empty screen due to an error.For the classic structure, this means inlining assets as
ember g componentwould only get rid of the template and the JavaScript file. We could have something like a command for the addon to remove itself, but the idea is to Use The Platform™.In Module Unification-land we'll have a slightly better time as we can have colocated hbs, JS, and CSS, meaning the user can just remove the folder.
Generating the component has the added benefit of the user having some code to explore.
Task order: