From f8b0a5579f9765dc959658759f895e4e01820189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Mon, 20 Aug 2018 21:14:55 +0200 Subject: [PATCH] Remove File#resolveModuleSource (#8470) --- packages/babel-core/src/transformation/file/file.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/babel-core/src/transformation/file/file.js b/packages/babel-core/src/transformation/file/file.js index d3104c07ac..55a9268cfe 100644 --- a/packages/babel-core/src/transformation/file/file.js +++ b/packages/babel-core/src/transformation/file/file.js @@ -140,12 +140,6 @@ export default class File { } } - // TODO: Remove this before 7.x's official release. Leaving it in for now to - // prevent unnecessary breakage between beta versions. - resolveModuleSource(source: string): string { - return source; - } - addImport() { throw new Error( "This API has been removed. If you're looking for this " +