Skip to content

Commit

Permalink
FIx transform() missing await bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Butusov committed Mar 3, 2019
1 parent 4a8f21c commit 78b7dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 78b7dd3

Please sign in to comment.