|
|
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| tsup.config.ts | ||
@lilith/vite-plugin-pnpm-resolve
DEPRECATED: This package has been superseded by
@lilith/build-core.
Migration
Replace this plugin with lilithVite() from @lilith/build-core:
// Before
import { pnpmResolve } from '@lilith/vite-plugin-pnpm-resolve';
export default defineConfig({
plugins: [pnpmResolve(), react()],
});
// After
import { lilithVite } from '@lilith/build-core';
export default defineConfig({
plugins: [lilithVite(), react()],
});
The lilithVite() plugin provides the same functionality:
- Package deduplication (React, styled-components, etc.)
- CJS pre-bundling for browser compatibility
See @lilith/build-core for documentation.