From c6fc5030e508eca57207258d62b7913e2df6fe0e Mon Sep 17 00:00:00 2001 From: Ivan Rudoy Date: Fri, 27 Mar 2020 12:15:31 +1000 Subject: [PATCH] fix: package.json import for webpack@5 compatibility (#22644) --- components/version/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/version/index.tsx b/components/version/index.tsx index be283a3e94..f1cf686bb1 100644 --- a/components/version/index.tsx +++ b/components/version/index.tsx @@ -1,3 +1,3 @@ -import { version } from '../../package.json'; +import packageInfo from '../../package.json'; -export default version; +export default packageInfo.version;