浏览代码

Try and Repeat

sebastien 7 年之前
父节点
当前提交
4b33a88c03
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Tools/Gulp/gulpfile.js

+ 5 - 0
Tools/Gulp/gulpfile.js

@@ -620,6 +620,11 @@ var buildExternalLibrary = function (library, settings, watch) {
                             let fileLocation = path.join(outputDirectory, settings.build.processDeclaration.filename);
                             fs.readFile(fileLocation, function (err, data) {
                                 if (err) throw err;
+
+                                // For Raanan,litera litteral import hack TO BETTER INTEGRATE
+                                data = data + "";
+                                data = data.replace('import "../sass/main.scss";', "");
+
                                 var newData = processDeclaration(data, settings.build.processDeclaration);
                                 fs.writeFileSync(fileLocation.replace('.module', ''), newData);
                                 //legacy module support