- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not able to Override the 3rd party module requirejs-config.js film in my custom module. Can anyone guide me on how to override the requirejs config file?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I solved it. It was my mistake. I put require js file outside of adminhtml folder in my custom module. That's why it is failed to override the 3rd party js file. Now it is working.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to Override 3rd party module requirejs-config.js film in my custom module?
Hello @5d970acbb8c78
1) make sure your module depends on that module
2) make sure how that module js called does it called by path or alias?
3) make sure your rewrite showing into require-js.config file into view source
hope it will help you.
Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to Override 3rd party module requirejs-config.js film in my custom module?
1 and 2nd point I checked it. Can you elaborate about your 3rd point?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to Override 3rd party module requirejs-config.js film in my custom module?
Hello @5d970acbb8c78
open your site and view the page source and check require-config.min.js and check your rewrite added if not then remove that file from server and refresh your page and check it
Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to Override 3rd party module requirejs-config.js film in my custom module?
It is not reflecting the changes. Please help me > https://magento.stackexchange.com/questions/305247/how-to-override-3rd-party-module-requirejs-config...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content