<p align="center"> <img src="https://img.shields.io/npm/dw/@plugin-light/preprocess"> <img src="https://img.shields.io/npm/unpacked-size/@plugin-light/preprocess"> <img src="https://img.shields.io/npm/v/@plugin-light/preprocess"> <img src="https:/
npm install @plugin-light/preprocess
条件编译的底层依赖。
安装
``bash`
pnpm add @plugin-light/preprocess -D
使用
`js
import { preprocessFile, preprocessFileSync, preprocess } from '@plugin-light/preprocess';
reprocess(content, context, {
type,
});
``