How to check JS bundling enable programmatically in Magento 2?

You can Bundling Javascript from the Magento admin panel in Magento 2.

To Bundling JavaScript files in Magento 2 via admin panel,
Go To Admin panel,
Click Stores -> Settings -> Configuration from the left sidebar.
Click on Advanced from the left sidebar, Select Developer Tab,
Open the JavaScript Settings section,
Enable JavaScript Bundling to Yes,
Click on Save Config.

Leave a Reply