Kris Jones
02/22/2019, 6:41 PMtransform-es2015-modules-amd
plugin and am not able to get it just right
if I do something like import { record } from 'N/record'
it transpiles to
define(['N/record', 'N/search', 'N/xml'], function (_record, _search, _xml) { ... });
and prefixes all of the record, search, xml
variables with _record, _search, _xml
, so the output looks a little like
_record.record.load({ ... })
stalbert
02/22/2019, 9:24 PMimport * as record from "N/record"
in scripts.