Skip to content

Commit 98e4793

Browse files
committed
chore: exclude devtools kit from included deps
1 parent f0d4e24 commit 98e4793

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

scripts/config.mjs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,16 @@ async function createConfig(pkg, format) {
5353
const config = {
5454
input: {
5555
input: slashes(path.resolve(__dirname, `../packages/${pkg}/src/index.ts`)),
56-
external: ['vue', isEsm ? '@vue/devtools-api' : undefined, 'zod', 'yup', 'vee-validate', 'valibot', 'joi'].filter(
57-
Boolean,
58-
),
56+
external: [
57+
'vue',
58+
isEsm ? '@vue/devtools-api' : undefined,
59+
isEsm ? '@vue/devtools-kit' : undefined,
60+
'zod',
61+
'yup',
62+
'vee-validate',
63+
'valibot',
64+
'joi',
65+
].filter(Boolean),
5966
plugins: [
6067
replace({
6168
preventAssignment: true,

0 commit comments

Comments
 (0)