The rollup documentation has the following example of importing the util.ajax
function:
import { ajax } from 'utils';
Does node expose an ES6 module containing utils
via the module
key on package.json and is this the general pattern used by NodeJS?
Update for those wondering what the purpose of the question is - If this is the case then rollupjs can tree shake node modules directly without having to transpile them to ES6 modules first.