Skip to content
This repository was archived by the owner on Jan 25, 2024. It is now read-only.

Commit f3773c0

Browse files
fix issue #54
1 parent d64f499 commit f3773c0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/httpVueLoader.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,11 @@
170170
throw new (ex.constructor)(ex.message, url, lineNumber);
171171
}
172172

173-
return Promise.resolve(this.module.exports);
173+
return Promise.resolve(this.module.exports)
174+
.then(function(exports) {
175+
176+
this.module.exports = exports;
177+
}.bind(this));
174178
}
175179
};
176180

0 commit comments

Comments
 (0)