Skip to content

Commit

Permalink
Merge pull request #471 from AnalyticalGraphicsInc/fix-for-cesium
Browse files Browse the repository at this point in the history
Fix for cesium build of gltf-pipeline
  • Loading branch information
lilleyse committed Jun 8, 2019
2 parents ec0e875 + 427b639 commit 46c3598
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ function amdify(source, subDependencyMapping) {
let requirePath;

source = source.replace(/\r\n/g, '\n');
source = source.replace(/\b(let|const)\b/g, 'var');

let outputSource = source;

// find module exports
Expand Down

0 comments on commit 46c3598

Please sign in to comment.