diff --git a/src/babel/transformation/file/index.js b/src/babel/transformation/file/index.js index 3ea2b246c8..42244f935e 100644 --- a/src/babel/transformation/file/index.js +++ b/src/babel/transformation/file/index.js @@ -115,7 +115,7 @@ export default class File { if (!val && option.optional) continue; if (val && option.deprecated) { - throw new Error("Deprecated option " + key + ": " + option.deprecated); + this.log.deprecate("Deprecated option " + key + ": " + option.deprecated); } if (val == null) {