Skip to content

Commit

Permalink
docs: 示例中 transformer 没有导入
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaohappy committed Dec 17, 2024
1 parent 4e800c3 commit ee57da6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions site/docs/guide/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ module.exports = (env) => {
const fs = require('fs')
const path = require('path')
const ts = require('typescript')
const transformer = require('@libmedia/cheap/build/transformer')

// 读取 tsconfig.json 配置,更改为自己的 tsconfig.json 的路径
const configPath = path.resolve(__dirname, './tsconfig.json')
Expand Down

0 comments on commit ee57da6

Please sign in to comment.