Skip to content

Commit c935039

Browse files
filipesilvahansl
authored andcommitted
chore(build): add otf font support (angular#2159)
1 parent 16b1cc3 commit c935039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular-cli/models/webpack-build-common.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export function getWebpackCommonConfig(
117117
       { test: /\.(jpg|png|gif)$/, loader: 'url-loader?limit=10000' },
118118
       { test: /\.html$/, loader: 'raw-loader' },
119119

120-
{ test: /\.(woff|ttf|svg)$/, loader: 'url?limit=10000' },
120+
{ test: /\.(otf|woff|ttf|svg)$/, loader: 'url?limit=10000' },
121121
{ test: /\.woff2$/, loader: 'url?limit=10000&mimetype=font/woff2' },
122122
{ test: /\.eot$/, loader: 'file' }
123123
]

0 commit comments

Comments
 (0)