Providing File.has method for core/transformation package

This commit is contained in:
Borales
2017-10-22 00:45:40 +02:00
parent 9e0f5235b1
commit 416e9aba39

View File

@@ -56,6 +56,10 @@ export default class File {
return this._map.get(key);
}
has(key: mixed): boolean {
return this._map.has(key);
}
getModuleName(): ?string {
const opts = this.opts;
if (!opts.moduleIds) {