We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24d64f4 commit c9df38fCopy full SHA for c9df38f
packages/kit-headless/vite.config.ts
@@ -9,16 +9,7 @@ import { viteStaticCopy } from 'vite-plugin-static-copy';
9
import tsconfigPaths from 'vite-tsconfig-paths';
10
import pkg from './package.json';
11
12
-const {
13
- dependencies = {
14
- '@floating-ui/dom': '^1.6.5',
15
- '@floating-ui/core': '^1.6.2',
16
- '@oddbird/popover-polyfill': '0.4.3',
17
- 'focus-trap': '7.5.4',
18
- 'body-scroll-lock-upgrade': '^1.1.0',
19
- },
20
- peerDependencies = {},
21
-} = pkg as any;
+const { dependencies = {}, peerDependencies = {} } = pkg as any;
22
const makeRegex = (dep: any) => new RegExp(`^${dep}(/.*)?$`);
23
const excludeAll = (obj: any) => Object.keys(obj).map(makeRegex);
24
0 commit comments