* chore: Update to use tsdown for build system * fix: docsearch-react build * fix: lint * fix: glob resolved to incorrect version
14 lines
346 B
TypeScript
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,
|
|
},
|
|
),
|
|
];
|