diff --git a/src/index.js b/src/index.js index c90c71c..e1cc04c 100644 --- a/src/index.js +++ b/src/index.js @@ -129,7 +129,7 @@ export default (initialOptions = {}) => { const alreadyProcessed = code.startsWith(idComment) if (!alreadyProcessed) { - const newCode = plugin.load.call(this, id) + const newCode = await plugin.load.call(this, id) if (newCode) { if (options.sourceMap) {