@ -50,15 +51,15 @@ function checkOptions ( options ) {
returnnewError('The `transform`, `load`, `resolveId` and `resolveExternal` options are deprecated in favour of a unified plugin API. See https://github.com/rollup/rollup/wiki/Plugins for details');
@ -27,7 +28,13 @@ function addJsExtensionIfNecessary ( file ) {
}
exportfunctionresolveId(importee,importer){
if(typeofprocess==='undefined')thrownewError(`It looks like you're using Rollup in a non-Node.js environment. This means you must supply a plugin with custom resolveId and load functions. See https://github.com/rollup/rollup/wiki/Plugins for more information`);
if(typeofprocess==='undefined'){
error({
code:'MISSING_PROCESS',
message:`It looks like you're using Rollup in a non-Node.js environment. This means you must supply a plugin with custom resolveId and load functions`,