Merge pull request #6529 from Borales/core-transformation-file-has
Providing File.has method for core/transformation package
This commit is contained in:
commit
101529ffe0
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user