Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 5be15fa

Browse files
committed
support pluginLoader for transpiler
1 parent dc38540 commit 5be15fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transpiler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var transpile = (function() {
1818
function transpile(load) {
1919
var self = this;
2020

21-
return self['import'](self.transpiler).then(function(transpiler) {
21+
return (self.pluginLoader || self)['import'](self.transpiler).then(function(transpiler) {
2222
if (transpiler.__useDefault)
2323
transpiler = transpiler['default'];
2424

0 commit comments

Comments
 (0)