Merge pull request #6529 from Borales/core-transformation-file-has

Providing File.has method for core/transformation package
This commit is contained in:
Sven SAULEAU
2017-10-23 15:37:00 +02:00
committed by GitHub

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) {