Browse Source

fix: package.json import for webpack@5 compatibility (#27314)

pull/27407/head
Van Nguyen 4 years ago
committed by GitHub
parent
commit
818470289f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      components/version/index.tsx

4
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;

Loading…
Cancel
Save