tsl-cli-helper
ts
import { style, script, vue, webpack } from "tsl-cli-helper";
// 其它代码
`
#### style
- compileFile(filePath: string, postcssConfig?: postcssrc.Result) => Promise
- filepath 文件路径
- postcssConfig: postcss.config 的自定义配置
#### script
- compileFile(filePath: string, config?: TransformOptions) => Promise
- filepath 文件路径
- config: babel.config 的自定义配置
$3
- devServer(type: "studio", config: any)
- type 项目类型
- config webpack 配置
- compile(type: "studio" | "uc" | "library", options: { src?: string; out?: string }, config: any)`