You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since cli+requirejs uses stub on "text" module, by default, those apps doesn't support @noView(['a.css'], 'http://cdn.com/path') too. That can be easy fixed by not using stub.
I'm submitting a bug report
Library Version:
1.7.0
JSPM OR Webpack AND Version
All
Current behavior:
aurelia/webpack-plugin#140
Take
noView
as example,@noView(['a.css'], 'base/url');
, this looks unnecessary, but should be supported.@noView(['a.css'], 'http://cdn.com/path')
, this looks like the designed usage.But right now, the optional baseUrl is never honoured, due to the line
templating/src/view-strategy.js
Line 144 in 5fe7e46
moduleId
is always present, sodependencyBaseUrl
is never used.Expected/desired behavior:
Since this api feature is never used by anyone, (because it never worked), we have option to
Update, two duplicated lines. Need to update both line 144 and line 237.
But option2 has limitation. If baseUrl is full url (http...), webpack app doesn't support it.
What is the expected behavior?
What is the motivation / use case for changing the behavior?
The text was updated successfully, but these errors were encountered: