# New build system in our main repository

**URL:** <https://forum.babylonjs.com/t/new-build-system-in-our-main-repository/28483>\
**Category:** Announcements\
**Created:** [March 16, 2022, 8:05pm UTC](https://forum.babylonjs.com/t/new-build-system-in-our-main-repository/28483 "2022-03-16T20:05:59Z")\
**Posts on this page:** 1\
**Showing post:** 42

<div class="post-metadata">

**Author:** ![Dad72](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/dad72/32/13_2.png) [@Dad72](https://forum.babylonjs.com/u/Dad72)\
**Post date:** [April 6, 2022, 12:03pm UTC](https://forum.babylonjs.com/t/new-build-system-in-our-main-repository/28483/42 "2022-04-06T12:03:51Z")

</div>

I’m doing this as a workaround. and it works. (I don’t know if .d.ts also go in the cdn?)  
I share it in case someone wants to do the same.  
'when this code is executed, it creates or updates the local javascript file from the remote file  
**PS:** It is necessary if the server is local (easyphp, wamp) to activate extention : _extension=php\_openssl.dll_

```auto
<?php	
$arrContextOptions = array("ssl" => array("verify_peer"=>false, "verify_peer_name"=>false));
$babylonFile = file_get_contents("https://preview.babylonjs.com/babylon.js", false, stream_context_create($arrContextOptions));	
$localProjet = "../my_project/libs/babylon/";
file_put_contents($localProjet."babylon.js", "".$babylonFile."");	
?>

```

Do the same with the other files gui, materials, inspector…

---

_[View the full topic](https://forum.babylonjs.com/t/new-build-system-in-our-main-repository/28483)._
