Skip to content

Commit 13d2f0a

Browse files
committed
Fix silly chunk_name get error
Signed-off-by: Calvin Cheng <linchuan.cheng@gmail.com>
1 parent 4a015c9 commit 13d2f0a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

webpack_loader/loader.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ def get_assets(self):
3838
return self.load_assets()
3939

4040
def filter_chunks(self, chunks):
41-
for c in chunks:
42-
chunk_name = c.get('name')
41+
for chunk_name in chunks:
4342
ignore = any(regex.match(chunk_name)
4443
for regex in self.config['ignores'])
4544
if not ignore:

0 commit comments

Comments
 (0)