Просмотр исходного кода

Merge pull request #4877 from sebavan/master

Try and Repeat
sebavan 7 лет назад
Родитель
Сommit
01c5ec99f1
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