fixup! Load all webpack chunks into fragments as correctly-typed resources
This commit is contained in:
@@ -59,6 +59,10 @@ def no_webpack_loader(monkeypatch):
|
||||
"webpack_loader.templatetags.webpack_loader.render_bundle",
|
||||
lambda entry, extension=None, config='DEFAULT', attrs='': ''
|
||||
)
|
||||
monkeypatch.setattr(
|
||||
"webpack_loader.utils.get_as_tags",
|
||||
lambda entry, extension=None, config='DEFAULT', attrs='': []
|
||||
)
|
||||
monkeypatch.setattr(
|
||||
"webpack_loader.utils.get_files",
|
||||
lambda entry, extension=None, config='DEFAULT', attrs='': []
|
||||
|
||||
@@ -13,6 +13,10 @@ def no_webpack_loader(monkeypatch):
|
||||
"webpack_loader.templatetags.webpack_loader.render_bundle",
|
||||
lambda entry, extension=None, config='DEFAULT', attrs='': ''
|
||||
)
|
||||
monkeypatch.setattr(
|
||||
"webpack_loader.utils.get_as_tags",
|
||||
lambda entry, extension=None, config='DEFAULT', attrs='': []
|
||||
)
|
||||
monkeypatch.setattr(
|
||||
"webpack_loader.utils.get_files",
|
||||
lambda entry, extension=None, config='DEFAULT', attrs='': []
|
||||
|
||||
@@ -16,6 +16,10 @@ def no_webpack_loader(monkeypatch):
|
||||
"webpack_loader.templatetags.webpack_loader.render_bundle",
|
||||
lambda entry, extension=None, config='DEFAULT', attrs='': ''
|
||||
)
|
||||
monkeypatch.setattr(
|
||||
"webpack_loader.utils.get_as_tags",
|
||||
lambda entry, extension=None, config='DEFAULT', attrs='': []
|
||||
)
|
||||
monkeypatch.setattr(
|
||||
"webpack_loader.utils.get_files",
|
||||
lambda entry, extension=None, config='DEFAULT', attrs='': []
|
||||
|
||||
Reference in New Issue
Block a user