perf: remove popperjs to reduce install size (#11030)

This commit is contained in:
neverland
2022-09-11 16:41:54 +08:00
committed by GitHub
parent ee6fa66e4a
commit 9cd60d151d
3 changed files with 18 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
import { createPopper } from '@popperjs/core/lib/popper-lite';
import offsetModifier from '@popperjs/core/lib/modifiers/offset';
import type { Instance, Placement } from '@popperjs/core';
import type { Instance } from '@popperjs/core';
export { createPopper, offsetModifier };
export type { Instance, Placement };
export type { Instance };