Skip to content

Commit 704ee41

Browse files
author
Robert He
committed
MAGETWO-71173: enabling JS Minification causes 404 errors in admin on JS files
- changing to production mode should clean up static view files
1 parent 22b7543 commit 704ee41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Deploy/Model/Filesystem.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ public function regenerateStatic(
147147
DirectoryList::CACHE,
148148
DirectoryList::GENERATED_CODE,
149149
DirectoryList::GENERATED_METADATA,
150-
DirectoryList::TMP_MATERIALIZATION_DIR
150+
DirectoryList::TMP_MATERIALIZATION_DIR,
151+
DirectoryList::STATIC_VIEW
151152
]
152153
);
153154

0 commit comments

Comments
 (0)