-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webpack下编译报错 #109
Comments
woff2.wasm 是采用动态方式引入的,需要在 webpack 打包时忽略这个文件,然后拷贝到 dist 代码中。 |
我在一个react项目中安装fontmin,引入的时候也报这个错,有什么好的解法嘛 |
@coderi521 可以看下我这个仓库,fontmin只支持ttf格式的字体,我这个可以支持其他字体文件,使用的opentype.js这个库 |
@ZeeLyn 看着不太满足我现在的场景,我是希望可以以npm的方式安装在我的项目中,在项目中处理字体文件&&拿到字体文件去做个性化处理 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: