Skip to content

Commit

Permalink
return this.contents directly in LightScriptAsset
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed Dec 17, 2017
1 parent a3e6354 commit 6aca66a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LightScriptAsset.js
Expand Up @@ -8,8 +8,8 @@ module.exports = class LightScriptAsset extends JSAsset {
? options.plugins.concat('lightscript')
: ['lightscript']

this.contents = babylon.parse(code, options);
this.contents = babylon.parse(code, options)

return super.parse(this.contents)
return this.contents
}
}

0 comments on commit 6aca66a

Please sign in to comment.