Skip to content

Commit 64d4138

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ export function getCommonConfig(wco: WebpackConfigOptions) {
106106
rules: [
107107
{ enforce: 'pre', test: /\.js$/, loader: 'source-map-loader', exclude: [nodeModules] },
108108
{ test: /\.html$/, loader: 'raw-loader' },
109-
{ test: /\.(eot|svg)$/, loader: `file-loader?name=[name]${hashFormat.file}.[ext]` },
109+
{ test: /\.(eot|svg|cur)$/, loader: `file-loader?name=[name]${hashFormat.file}.[ext]` },
110110
{
111-
test: /\.(jpg|png|webp|gif|otf|ttf|woff|woff2|cur|ani)$/,
111+
test: /\.(jpg|png|webp|gif|otf|ttf|woff|woff2|ani)$/,
112112
loader: `url-loader?name=[name]${hashFormat.file}.[ext]&limit=10000`
113113
}
114114
].concat(extraRules)

0 commit comments

Comments
 (0)