Explorar el Código

Merge pull request #5866 from sebavan/master

Fix Viewer NPM deploy
sebavan hace 6 años
padre
commit
f00ac3da7b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Tools/Publisher/tasks/processUMDViewer.js

+ 1 - 1
Tools/Publisher/tasks/processUMDViewer.js

@@ -49,7 +49,7 @@ function processUMDViewer(module, version) {
     packageJson.main = "babylon.viewer.js";
     packageJson.typings = "index.d.ts";
 
-    fs.writeFileSync(buildPath + 'package.json', JSON.stringify(packageJson, null, 4));
+    fs.writeFileSync(path.join(buildPath, 'package.json'), JSON.stringify(packageJson, null, 4));
 
     publish(version, "viewer", buildPath);
     colorConsole.emptyLine();