How can I update or add custom libraries to my SCA...
# suitecommerce
a
How can I update or add custom libraries to my SCA site (for back-end use)? Apparently some of the functions (such as
_mapObject
) I want to use from underscore are only in the newer releases of underscore. At my work we use Ramda a lot, so I thought it might be worth bringing it in. Inside a third-parties folder I created a new folder called
ramda@.0.25.0
. In it I pasted the source code from Ramda (which is free for distribution by the way) and I included a
ns.package.json
file with the following
Copy code
{
  "gulp": {
    "javascript": [
      "ramda.js"
    ]
  },
  "jshint": "false"
}
I then added this folder to the distro, but Ramda is not recognized. Am I doing this correctly?