File tree 2 files changed +9
-3
lines changed 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ const SilentError = require('silent-error');
18
18
* know they are used.
19
19
*
20
20
* require('source-map-loader')
21
- * require('raw -loader')
21
+ * require('html -loader')
22
22
* require('url-loader')
23
23
* require('file-loader')
24
24
* require('@angular-devkit/build-optimizer')
@@ -188,7 +188,13 @@ export function getCommonConfig(wco: WebpackConfigOptions) {
188
188
} ,
189
189
module : {
190
190
rules : [
191
- { test : / \. h t m l $ / , loader : 'raw-loader' } ,
191
+ {
192
+ test : / \. h t m l $ / ,
193
+ loader : 'html-loader' ,
194
+ options : {
195
+ root : appRoot ,
196
+ }
197
+ } ,
192
198
{
193
199
test : / \. ( e o t | s v g | c u r ) $ / ,
194
200
loader : 'file-loader' ,
Original file line number Diff line number Diff line change 61
61
"postcss-custom-properties" : " ^6.1.0" ,
62
62
"postcss-loader" : " ^1.3.3" ,
63
63
"postcss-url" : " ^5.1.2" ,
64
- "raw -loader" : " ^0.5.1" ,
64
+ "html -loader" : " ^0.5.1" ,
65
65
"resolve" : " ^1.1.7" ,
66
66
"rxjs" : " ^5.4.2" ,
67
67
"sass-loader" : " ^6.0.3" ,
You can’t perform that action at this time.
0 commit comments