Load web asset from actual path#23
Conversation
|
|
thanks for your PR and raising the issue @elitree, but I'd like to suggest we move to rootBundle like you suggested but keep 'assets/' Why?
I tested this suggestions with a base-href build too and it worked. If you could make that change to your PR I'll go ahead and merge it, cheers! |
|
Thanks for the suggested change. I'll test a little further--I agree that it's easy for me to suggest a breaking change, but not so desirable for the package maintainer and user base. I'll try to update in the next couple days. |
|
@samuelOsborne you're right, the path should have |
Loads the actual asset path passed in, without prepending an extra 'assets'.
EDIT - changed to preserve the 'assets' prefix in the web path, which better matches conventions as well as the current mobile code.
Fixes #22.