I am replacing the core search module js by custom module using following code.
var config = {
map: {
'*': {
'quickSearch':'All_Search/form-mini'
}
}
};
when i checked the requirejs-config.js file from page source i found my configuration are inserted into file at the top
(function(require){
(function() {
var config = {
map: {
'*': {
'quickSearch':'All_SearchAutoComplete/form-mini'
}
}
};
and core module config is in middle of file which cause to load the core/default file. If i Changed the my Module name From All to Zall or something alphabetically sort than it works properly. How to solve this issue.
<sequence> <module name="Magento_Search"/> </sequence>
in your etc/module.xml? – Renon Stewart Feb 23 '16 at 12:19