1
0
Fork 0
docsearch/tsdown.base.ts
Paul Jankowski c94eafbbee
chore: Update to use tsdown for build system (#2824)
* chore: Update to use tsdown for build system

* fix: docsearch-react build

* fix: lint

* fix: glob resolved to incorrect version
2026-02-20 13:24:32 -05:00

14 lines
346 B
TypeScript

// eslint-disable-next-line import/no-unresolved
import { replacePlugin } from 'rolldown/plugins';
export const rolldownPlugins = [
replacePlugin(
{
__DEV__: JSON.stringify(process.env.NODE_ENV === 'development'),
'process.env.NODE_ENV': JSON.stringify('production'),
},
{
preventAssignment: true,
},
),
];