- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
js minification issue
I have tried almost every single thing there were some errors in system.log file i have also removed that , gave so much time to solve this issue . i want to minify and merged js . i set developer mode and select options using store->configuration->advance->developer nothing changed in my site i did run all commands upgrade, content deply , di compile , cache flush everything . gave permissions and all but still no good luck . can anyone give me some good trick ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: js minification issue
Hello @samair
You can try below methods:
1. Remove frontend folder from pub/static/ and run again php bin/magento setup:static-content:deploy -f, php bin/magento cache:flush, chmod -R 0777 var/ pub/ generated/
OR
2.Remove frontend folder from pub/static/ and run again php bin/magento setup:static-content:deploy store_code -f, php bin/magento cache:flush, chmod -R 0777 var/ pub/ generated/
i.e.
bin/magento setup:static-content:deploy en_US
https://www.manishmittal.com/
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: js minification issue
tried it sir but it is not working for me . i have tried these type of things but nothing worked either .
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: js minification issue
Hello @samair,
Can you please provide us screenshot so we can get an idea about more idea about an error?
--
If my answer is useful, please Accept as Solution & give Kudos
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: js minification issue
Please share issue in details with a screenshot so I can suggest you best solution.
https://www.manishmittal.com/
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: js minification issue
actualy there is no error ... system logs are empty no error is there ...
@gelanivishal wrote:Hello @samair,
Can you please provide us screenshot so we can get an idea about more idea about an error?
--
If my answer is useful, please Accept as Solution & give Kudos
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: js minification issue
Hello @samair,
If you want to check any error after merge js then you can see in console log tab. If you didn't get any error then it's minified successfully. You can also check minified js in view source.
Let us know if you get any error on console log.
--
If my answer is useful, please Accept as Solution & give Kudos