From 6aca66a8be0ed2660be8dc97e6932f5064013a4b Mon Sep 17 00:00:00 2001 From: chee Date: Sun, 17 Dec 2017 21:28:19 +0000 Subject: [PATCH] return `this.contents` directly in LightScriptAsset --- LightScriptAsset.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LightScriptAsset.js b/LightScriptAsset.js index 21f4a02..bf5f8a3 100644 --- a/LightScriptAsset.js +++ b/LightScriptAsset.js @@ -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 } }