Skip to content

Commit 4158c49

Browse files
committed
Fix auto publicPath
1 parent c1eb338 commit 4158c49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack_loader/loaders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def map_chunk_files_to_url(self, chunks):
8282

8383
def get_chunk_url(self, chunk_file):
8484
public_path = chunk_file.get("publicPath")
85-
if public_path:
85+
if public_path and public_path != "auto":
8686
return public_path
8787

8888
# Use os.path.normpath for Windows paths

0 commit comments

Comments
 (0)