Skip to content

Commit a69d484

Browse files
committed
refactor: check if r.bootloader
1 parent 8e7f724 commit a69d484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var utils = require('loader-utils');
22

33
var bootstrapModule = /(\.bootstrapModule|\.bootstrapModuleFactory)\((.+)\)/gm;
4-
var bootLoader = /(hmr_1\.bootloader)\((.+)\)/gm;
4+
var bootLoader = /((hmr_1|r)\.bootloader)\((.+)\)/gm;
55

66
function Angular2HMRLoader(source, sourcemap) {
77
var self = this;

0 commit comments

Comments
 (0)