Skip to content

Commit

Permalink
fixup! Load all webpack chunks into fragments as correctly-typed reso…
Browse files Browse the repository at this point in the history
…urces
  • Loading branch information
cpennington committed Sep 7, 2018
1 parent 15b762a commit 16f05ec
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cms/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='': []
Expand Down
4 changes: 4 additions & 0 deletions common/lib/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='': []
Expand Down
4 changes: 4 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='': []
Expand Down

0 comments on commit 16f05ec

Please sign in to comment.