@galacean/engine-shaderlab 1.6.6 → 1.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser.js CHANGED
@@ -4964,7 +4964,9 @@
4964
4964
  generatedIdx = generatedIdxEnd;
4965
4965
  }
4966
4966
  ret.push(source.slice(startIdx));
4967
- return ret.join("");
4967
+ var result = ret.join("");
4968
+ // Replace multiple consecutive newlines with a single newline to clean up the output
4969
+ return result.replace(/\n\s*\n+/g, "\n");
4968
4970
  };
4969
4971
  return PpUtils;
4970
4972
  }();
@@ -8058,7 +8060,7 @@
8058
8060
  ShaderLab._shaderRangePool = ShaderLabUtils.createObjectPool(ShaderRange);
8059
8061
 
8060
8062
  //@ts-ignore
8061
- var version = "1.6.6";
8063
+ var version = "1.6.7";
8062
8064
  var mode = "Release";
8063
8065
  console.log("Galacean Engine ShaderLab Version: " + version + " | Mode: " + mode);
8064
8066