I try to override the Magento/Checkout/view/frontend/web/js/view/shipping.js file in my custom theme.
New location of the file:
app/design/frontend/Vendor/theme/Magento_Checkout/web/js/view/shipping.js
Location of my requirejs-config.js file:
app/design/frontend/Vendor/theme/requirejs-config.js
Contents of my requirejs-config.js file:
var config = {
map: {
'*': {
'Magento_Checkout/js/view/shipping': 'js/view/shipping'
}
}
};
I refreshed all caches and deployed static content but I keep getting the following 404 error in my console:
GET http://domain.loc/pub/static/frontend/Vendor/theme/nl_NL/js/view/shipping.js
I also tried to move the requirejs-config.js file into my Magento_Checkout folder.