Skip to content

Commit 4223ab2

Browse files
committed
fix(origin-loader): switch to a more unique variable name
1 parent a69b8f0 commit 4223ab2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/origin-loader.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ module.exports = function(source, map) {
66
this.cacheable();
77

88
const newSource = source + `
9-
import {Origin} from 'aurelia-metadata';
9+
import {Origin as __au_o__} from 'aurelia-metadata';
1010
for (var exportName in module.exports) {
11-
Origin.set(module.exports[exportName], new Origin(${JSON.stringify(moduleId)}, exportName));
11+
__au_o__.set(module.exports[exportName], new __au_o__(${JSON.stringify(moduleId)}, exportName));
1212
}`;
1313

1414
this.callback(null, newSource, map);

0 commit comments

Comments
 (0)