3

After the development of Magento 2 store, I push my site on production mode and perform all the speedup tweak's like merge JS/CSS etc..

After this, my site is working very well without any JavaScript error in production mode.

My client wants to install one more extension in this store. So I want to ask what is the procedure to follow to install the new extension in production mode site.

  • Should we install the extension in the production mode without of the JS/CSS merging?
  • Should we turn off the JS/CSS merging and change the production mode to the developer mode and install the new extension?

Because when we change the production mode to developer mode, we get many JavaScript errors and site not running properly.

Please suggest.

  • Don't install extension in production mode – Pankaj Pareek Jul 25 '17 at 9:46
  • When I change the production mode to developer I getting JS errors – Purushotam Sharma Jul 25 '17 at 9:52
  • Disable the JS merge ad make sure static content generated properly – Pankaj Pareek Jul 25 '17 at 10:24
  • Merging and minification of js will not work in developer mode. – Pawan Jul 25 '17 at 16:57
  • I have disabled the Merging and minification of js before switch to developer mode. – Purushotam Sharma Jul 26 '17 at 5:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.