should FakeWebpackLoader also mock get_assets?
tlambert03 opened this issue · 1 comments
tlambert03 commented
I found myself needing to create an extended FakeWebpackLoader when using webpack_static
:
class MockWebpackLoader(FakeWebpackLoader):
def get_assets(self):
return {}
(otherwise you hit an IOError
when it attempts to read). Would that be a good PR? or should I be doing this differently anyway?
fjsj commented
Please feel free to open the PR, thanks!