ice
ice copied to clipboard
怎么配置飞冰, 支持otf 文件格式
What is the current behavior? 发生了什么?
What is the expected behavior? 期望的结果是什么?
Any additional comments? 相关环境信息?
- ice.js Version:
- build.json Configuration:
- Node Version:
- Platform:
定制下 webpack 的 loader 配置,比如:
webpackLoaders: {
file: {
test: /.(otf)$/,
type: 'asset/resource',
loaders: {
'file-loader': {},
},
include: ['src'],
}
}