From 6f24366e3a6842a94875a04eab25cc1cf3a2f432 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Thu, 15 Oct 2020 08:50:37 -0400 Subject: [PATCH] Add explicit extension on sub module imports --- packages/babel-preset-backpack/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/babel-preset-backpack/index.js b/packages/babel-preset-backpack/index.js index 79fc1b9..0277562 100644 --- a/packages/babel-preset-backpack/index.js +++ b/packages/babel-preset-backpack/index.js @@ -48,7 +48,7 @@ module.exports = function() { regenerator: true, // Resolve the Babel runtime relative to the config. absoluteRuntime: path.dirname( - require.resolve('@babel/runtime/package') + require.resolve('@babel/runtime/package.json') ), }, ],