Skip to content

Vite plus pack does not export mergeConfig and maybe other exports #966

@rajzik

Description

@rajzik

Describe the bug

I am trying to create sharable config for our project with vite plus. And when I tried to extends two configs I found out that define config is only exported as type in vite-plus/dist/pack.d.ts

export type * from '@voidzero-dev/vite-plus-core/pack';

But it is exported from root vite-plus entry point.

Reproduction

https://stackblitz.com/edit/vitejs-vite-at4n3vkq?file=package.json,vite.config.ts&terminal=dev

Steps to reproduce

import mergeConfig from vite-plus/pack

System Info

VITE+ - The Unified Toolchain for the Web

Environment:
  Version  24.14.0
  Source   lts

Tool Paths:
  node  /Users/jansilhan/.vite-plus/js_runtime/node/24.14.0/bin/node
  npm   /Users/jansilhan/.vite-plus/js_runtime/node/24.14.0/bin/npm
  npx   /Users/jansilhan/.vite-plus/js_runtime/node/24.14.0/bin/npx

Used Package Manager

pnpm

Logs

Validations

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions