fkrauthan
10/04/2018, 5:51 PMpageInit method exported. Because my code was const Obj = { pageInit: function() {} }; return Obj; but it needs return { pageInit: function() {} };jkabot
10/04/2018, 5:52 PMfkrauthan
10/04/2018, 5:55 PMpageInit at the bottom so that Netsuite lets me upload my codefkrauthan
10/04/2018, 5:55 PMjkabot
10/04/2018, 5:57 PMexport function pageInit() {}
becomes
define(["exports"], function(exports) {
function pageInit() {}
exports.pageInit = pageInit;
});fkrauthan
10/04/2018, 5:58 PMjkabot
10/04/2018, 5:58 PMfkrauthan
10/04/2018, 6:01 PMjkabot
10/04/2018, 6:02 PMdefine(["N/record"], function(record) {
// outside of an entry point like beforeLoad / pageInit etc
var rec = record.load({ type: ... , id: ... })
})jkabot
10/04/2018, 6:03 PMfkrauthan
10/04/2018, 6:04 PMjkabot
10/04/2018, 6:05 PMimport ./style.css is using webpackfkrauthan
10/04/2018, 6:06 PMjkabot
10/04/2018, 6:06 PM<style> element within the inlinehtml field that also has my <div id="react-root">