Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Extensions being "noted" by "gulp local"
Wrote two extensions,
the first deals with elements in the JavaScript and SuiteScript branches, its ns.package.json looks like:
{
"gulp": {
"javascript": ["JavaScript/*.js"],
"ssp-libraries": ["SuiteScript/*.js"]
}
, "overrides":
{
"suitecommerce/Account@2.4.0/JavaScript/Account.Register.Model.js":"extensions/AccountExtension@1.0.0/JavaScript/Account.Register.Model.js",
"suitecommerce/Account@2.4.0/SuiteScript/Account.Model.js":"extensions/AccountExtension@1.0.0/SuiteScript/Account.Model.js"
}
}
the second
{
"gulp": {
"javascript": ["JavaScript/*.js"],
"templates": ["Templates/*.tpl"]
}
, "overrides":
{
"suitecommerce/LoginRegister@2.4.0/Templates/login_register_register.tpl":"Templates/login_register_register.tpl",
"suitecommerce/LoginRegister@2.4.0/JavaScript/LoginRegister.Register.View.js":"JavaScript/LoginRegister.Register.View.js"
}
}
both were added at the main distro.json file at the modules section