@plugin-light/preprocess
v1.0.0
Published
<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:/
Readme
预处理器
条件编译的底层依赖。
如何使用
安装
pnpm add @plugin-light/preprocess -D使用
import { preprocessFile, preprocessFileSync, preprocess } from '@plugin-light/preprocess';
reprocess(content, context, {
type,
});