Skip to content

Commit 382f7a0

Browse files
committed
fix(build): remove html-loader
fix angular#2396
1 parent 1524bc1 commit 382f7a0

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@
7171
"fs.realpath": "^1.0.0",
7272
"glob": "^7.0.3",
7373
"handlebars": "^4.0.5",
74-
"html-loader": "^0.4.4",
7574
"html-webpack-plugin": "^2.19.0",
7675
"istanbul-instrumenter-loader": "^0.2.0",
7776
"json-loader": "^0.5.4",

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export function getWebpackCommonConfig(
9494

9595
       { test: /\.json$/, loader: 'json-loader' },
9696
       { test: /\.(jpg|png|gif)$/, loader: 'url-loader?limit=10000' },
97-
       { test: /\.html$/, loader: 'html-loader' },
97+
       { test: /\.html$/, loader: 'raw-loader' },
9898

9999
{ test: /\.(otf|woff|ttf|svg)$/, loader: 'url?limit=10000' },
100100
{ test: /\.woff2$/, loader: 'url?limit=10000&mimetype=font/woff2' },

packages/angular-cli/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
"fs.realpath": "^1.0.0",
5555
"glob": "^7.0.3",
5656
"handlebars": "^4.0.5",
57-
"html-loader": "^0.4.4",
5857
"html-webpack-plugin": "^2.19.0",
5958
"istanbul-instrumenter-loader": "^0.2.0",
6059
"json-loader": "^0.5.4",

0 commit comments

Comments
 (0)