Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
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