Skip to content
Rubin Shrestha
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
  • Search
Rubin Shrestha
  • Search
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
Home » Blog » Magento 2: Use of map in RequireJs-config
Blog

Magento 2: Use of map in RequireJs-config

by |Published September 11, 2022

Is anyone know the use of this ‘custom’ & when we need to use that?

var config = {
     map: {
         **'custom':** {
                 '@@@': '@@@',
                 '@@@': 'js/@@@'
             }
         }
 };

Thanks.

  • Magento
  • Magento1
  • Magento2

You may also like

Need a block to cache its result regardless if it called from the controller or the template
Published June 15, 2023

Need a block to cache its result regardless if it called from the controller or the template

I have a block with a function getParts() which is called from a template. This function does a bunch of queries and […]

Magento 2.4.6. Multiple data output problem
Published November 3, 2023

Magento 2.4.6. Multiple data output problem

Here’s my situation: When calling the endpoint, I receive the following data: { “ean”: “0744963634260”, “price”: “400.000000”, “update_at”: “2023-10-30 18:39:02” } The […]

Magento 2.4.3 on a Shared service
Published March 15, 2022

Magento 2.4.3 on a Shared service

I am wondering if there are any hosting providers out there that are not VPS that offer Magento 2.4.3+ and have Elasticsearch […]

Palindrome in JavaScript
Published April 4, 2023

Palindrome in JavaScript

We will understand how to check whether a given value is a palindrome or not in JavaScript. A palindrome is a value […]

Interesting

  • Magento 2 – How to redirect to the last valid page when changing items per page in search results?
  • You haven’t provided your Magento authentication keys
  • How to load Available payment methods of custom page same as checkout does?
  • Does Magento integrate with Quickbooks online
  • Screenshots are in RAM (Not on Disk!) as BMP, which slows down things when pasting screenshots in chats. How can I change default format?
  • Issue with exchange backups via veritas netbackup client
  • Difference between chkdsk /r /x and chkdsk /offlinescanandfix
  • In the searchbar in windows how do I show all textfiles? thank you

Post navigation

  • Previous post Change the Product List Widget from Slider to Flat Display on Magento 2
  • Back to post list
  • Next post Update product stock data Progratically
——————-
  • Magento 2 – How to redirect to the last valid page when changing items per page in search results?
  • You haven’t provided your Magento authentication keys
  • How to load Available payment methods of custom page same as checkout does?
  • Does Magento integrate with Quickbooks online
  • Screenshots are in RAM (Not on Disk!) as BMP, which slows down things when pasting screenshots in chats. How can I change default format?
——————-
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
——————-
  • Blog
  • Contact
  • Nepali Typing | Nepali Unicode | English to Nepali | English Conversion | English Translate | नेपाली to English | नेपाली टाईपिङ
  • Occasional Photography
    • The desert that everybody loves in pictures
  • Photography
  • Rubin Shrestha

© 2024 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme