Skip to content

Commit

Permalink
fix(helper): 增加m4a文件的支持 (#7308)
Browse files Browse the repository at this point in the history
iOS	Android 均支持 m4a 格式的文件, 因此添加该文件的支持
  • Loading branch information
hylarucoder authored Aug 14, 2020
1 parent c171dda commit 794c290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro-helper/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const REG_LESS = /\.less$/
export const REG_STYLUS = /\.styl$/
export const REG_STYLE = /\.(css|scss|sass|less|styl|wxss|acss|ttss|jxss|qss)(\?.*)?$/
export const REG_CSS = /\.(css|wxss|acss|ttss)(\?.*)?$/
export const REG_MEDIA = /\.(mp4|webm|ogg|mp3|wav|flac|aac)(\?.*)?$/
export const REG_MEDIA = /\.(mp4|webm|ogg|mp3|m4a|wav|flac|aac)(\?.*)?$/
export const REG_IMAGE = /\.(png|jpe?g|gif|bpm|svg|webp)(\?.*)?$/
export const REG_FONT = /\.(woff2?|eot|ttf|otf)(\?.*)?$/
export const REG_JSON = /\.json(\?.*)?$/
Expand Down

0 comments on commit 794c290

Please sign in to comment.