ERP Guy
08/27/2018, 6:57 PMerictgrubaugh
08/27/2018, 7:01 PMdefine statements for each?ERP Guy
08/27/2018, 7:28 PMERP Guy
08/27/2018, 7:29 PMERP Guy
08/27/2018, 7:29 PMERP Guy
08/27/2018, 7:30 PMerictgrubaugh
08/27/2018, 7:36 PMERP Guy
08/27/2018, 7:43 PMerictgrubaugh
08/27/2018, 7:44 PMmoment client-side, but I'm not sure I've done it for some timeERP Guy
08/27/2018, 7:57 PMerictgrubaugh
08/27/2018, 9:03 PM@NAmdConfig to specify my module pathserictgrubaugh
08/27/2018, 9:04 PMdefine statements typically look something like:
define(["moment", "N/search"], function (moment, s) ...erictgrubaugh
08/27/2018, 9:04 PM@NAmdConfig /SuiteScripts/path/to/amdconfig.json in my module JSDocerictgrubaugh
08/27/2018, 9:05 PMamdconfig.json looks something like:
{
"baseUrl": "/SuiteScripts/path/to/libs",
"paths": {
"lodash": "lib/Third Party/lodash/lodash.min.js",
"moment": "lib/Third Party/moment/moment.min.js",
}
}