Skip to content

Commit 49bfd1a

Browse files
committed
fix: resolve cheerio TypeError: Cannot read properties of undefined (reading 'load') #246
1 parent 4daa4cd commit 49bfd1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import fs, { ReadStream } from 'fs-extra';
33
import path from 'path';
44
import ejs from 'ejs';
55
import color from 'colors-cli';
6-
import cheerio from 'cheerio';
6+
import * as cheerio from 'cheerio';
77
import svg2ttf from 'svg2ttf';
88
import ttf2eot from 'ttf2eot';
99
import ttf2woff from 'ttf2woff';

0 commit comments

Comments
 (0)