Skip to content

Commit

Permalink
fix(@angular/cli): prevent .cur file inlining
Browse files Browse the repository at this point in the history
IE does not support data URI cursors.
  • Loading branch information
Charles Lyding authored and filipesilva committed Jul 26, 2017
1 parent 1a6aa53 commit 64d4138
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@angular/cli/models/webpack-configs/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ export function getCommonConfig(wco: WebpackConfigOptions) {
rules: [
{ enforce: 'pre', test: /\.js$/, loader: 'source-map-loader', exclude: [nodeModules] },
{ test: /\.html$/, loader: 'raw-loader' },
{ test: /\.(eot|svg)$/, loader: `file-loader?name=[name]${hashFormat.file}.[ext]` },
{ test: /\.(eot|svg|cur)$/, loader: `file-loader?name=[name]${hashFormat.file}.[ext]` },
{
test: /\.(jpg|png|webp|gif|otf|ttf|woff|woff2|cur|ani)$/,
test: /\.(jpg|png|webp|gif|otf|ttf|woff|woff2|ani)$/,
loader: `url-loader?name=[name]${hashFormat.file}.[ext]&limit=10000`
}
].concat(extraRules)
Expand Down

0 comments on commit 64d4138

Please sign in to comment.