Skip to content

Commit 5090b1c

Browse files
Charles Lydingfilipesilva
Charles Lyding
authored andcommitted
fix(@angular/cli): prevent .cur file inlining
IE does not support data URI cursors.
1 parent 0fe7ecb commit 5090b1c

File tree

1 file changed

+2
-2
lines changed
  • packages/@angular/cli/models/webpack-configs

1 file changed

+2
-2
lines changed

packages/@angular/cli/models/webpack-configs/common.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ export function getCommonConfig(wco: WebpackConfigOptions) {
8383
rules: [
8484
{ enforce: 'pre', test: /\.js$/, loader: 'source-map-loader', exclude: [nodeModules] },
8585
{ test: /\.html$/, loader: 'raw-loader' },
86-
{ test: /\.(eot|svg)$/, loader: `file-loader?name=[name]${hashFormat.file}.[ext]` },
86+
{ test: /\.(eot|svg|cur)$/, loader: `file-loader?name=[name]${hashFormat.file}.[ext]` },
8787
{
88-
test: /\.(jpg|png|webp|gif|otf|ttf|woff|woff2|cur|ani)$/,
88+
test: /\.(jpg|png|webp|gif|otf|ttf|woff|woff2|ani)$/,
8989
loader: `url-loader?name=[name]${hashFormat.file}.[ext]&limit=10000`
9090
}
9191
].concat(extraRules)

0 commit comments

Comments
 (0)