When disabling the js, and css ,merge, minify and bundling for default scope and keeping them enabled for website and store view scope, the admin still loads minified and bundled js
1.Admin loads all the files bundled
This is a duplicate of https://github.com/magento/magento2/issues/6638 (which was unfortunately closed due to Magento support people not understanding the problem :p).
It's certainly a bug, but a very low priority one in my opinion.
@Taral-Patoliya: any particular reasons for wanting this behaviour? Just out of curiousity :) We no longer need this ourselves, as it was a workaround for an unrelated issue which we were having, but which was fixed later on.
@hostep We need to disable this behavior because we are getting js errors while accessing tiny_mce in backend for CMS Pages and Blocks, the tiny mce does not work with the js merged and bundled.
Please have a look at below screenshot

@Taral-Patoliya thank you for your report.
Please use the issue reporting guidelines to report an issue. Include the preconditions, the steps required to reproduce, the actual result, and the expected result.
Please, add the following information:
@okorshenko I have updated the issue, and added the precondition
I'll work on this one. Just to let you know. Thanks.
I would like to leave an update here.
I have investigated this issue and create PR https://github.com/magento/magento2/pull/11270 to fix it.
Looking forward to your review.
Thanks.
Nice job @roma-glushko!
But since in Magento 2.2.0, the developer tab is no longer available in production mode, should effort still be put into fixing this bug? Unless you can still manipulate these settings from the config.php file? (which I haven't verified yet)
This is still an issue in Magento 2.2.4 and therefor the editors are not working like @Taral-Patoliya explained
@versdivers: the editors aren't working properly because some module will most likely have overwritten the default <minify_exclude> configuration of Magento which disables minifying for the tiny_mce editor js files, and overwriting that setting by another module will cause the editor to no longer work properly. You can read more about this issue over here: https://github.com/magento/magento2/issues/11577
In Magento 2.2.4 you are most likely running into the issue because one of the Klarna modules which get included in 2.2.4 by default is overwriting that setting. You can fix it by disabling those Klarna modules, or updating them, I think I saw an update coming through using composer and it no longer seem to include this problem.
I'm also not considering this a bug anymore, I think the real bug is that you are able to change this setting over website & storeview scope. I believe it would be better if you could only configure this setting on a global level. The static content deploy mechanism is completely new in Magento 2 so we can no longer compare to how minifying worked in Magento 1.
@hostep I do believe that you can make the merging a scoped level setting. I mean.. Both the merged and the normal files are getting generated anyways. Just make them load the one or the other based on the scoped level...
the tiny_mce is a bug indeed. But if there is a setting and it doesnt work that classifies as a bug. even tough removing the scope level is the fix
Both the merged and the normal files are getting generated anyways.
Ah, I wasn't aware of this, sorry, request sound reasonable then :)
Well i am running a production website that merges everything. I still have the normal pub/static/frontend/vendor/theme/store/... filles and i also have the merged filles. If i have some time i will dig into the code to see where we can adjust some things. If i do not forget it. For now my biggest problem is solved with the update of Klarna module with composer
This SHOULD be fixed for sure! Because Merging and Bundling JS in admin area for us caused error in completeLoad() method of lib/web/requirejs/require.js on Catalog -> Products page. It TOTALLY STUCKS in FF, and mostly totally stucks in Chrome! This is another huge stone to Magento's "stability". I even don't pray you will read this and fix this bug in a year. Community version should be fixed by a community, we got it long time ago. Thanks for the attention!
@denysaw what version are you using? on 2.2.6 we do not have any issue with merging
2.2.6 CE, sure. I console.logged all js files, which goes thru evaluation and there're just Magento's files ( Dunno even what to think. My only chance was to disable merge/bundle in admin area. But it's unreal, yep. Even tried to add scope 'store' rows in DB with configs (merge/bundling) just for store. Nothing (
How is Magento installed? Did you composer install it or? maybe run a composer update. There needs to be some difference between our installations.
Hi @engcom-backlog-tomash. Thank you for working on this issue.
Looks like this issue is already verified and confirmed. But if your want to validate it one more time, please, go though the following instruction:
Component: XXXXX label(s) to the ticket, indicating the components it may be related to.[ ] 2. Verify that the issue is reproducible on 2.3-develop branchDetails
- Add the comment @magento-engcom-team give me 2.3-develop instance to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!
[ ] 3. Verify that the issue is reproducible on 2.2-develop branch. Details
- Add the comment @magento-engcom-team give me 2.2-develop instance to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x
[ ] 4. If the issue is not relevant or is not reproducible any more, feel free to close it.
@engcom-backlog-tomash Thank you for verifying the issue. Based on the provided information internal tickets MAGETWO-97560, MAGETWO-97561 were created
Most helpful comment
I'll work on this one. Just to let you know. Thanks.