Skip to content

Commit 8dc99a4

Browse files
authored
Update README.md
1 parent 5d6531f commit 8dc99a4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,12 @@ php bin/magento setup:di:compile
3838
php bin/magento setup:static-content:deploy
3939
```
4040

41-
## Get List Of Used JS
41+
## Get List Of Used JS On A Sigle Page
4242
```
4343
/* Use in browser console */
44+
/* Replace PATH_TO_JS with a string of static content URL including language. E.g.
45+
'https://domain.com/pub/static/version1549034518/frontend/Magento/luma/en_US/'
46+
*/
4447
globalSrc = '';
4548
jQuery('script').each(function(){
4649
if (!jQuery(this).attr('src')) return;

0 commit comments

Comments
 (0)