const {Resolver} = require('@parcel/plugin');

module.exports = new Resolver({
  resolve({dependency, options, filePath}) {
    if(dependency.specifier === "foo"){
      return {isExcluded: true, meta: {customValue: 1234}};
    }
  }
});
