<!DOCTYPE html>
<html lang="en">
<head>

   <meta charset="UTF-8">
   <meta http-equiv="X-UA-Compatible" content="IE=edge">

   <title>Use library build with gulp</title>

   <script src="build/js/lib.min.js" type="text/javascript"></script>
   <link rel="stylesheet" href="build/css/lib.min.css">
 
   <script type='text/javascript'>

     JSROOT.gStyle.MathJax = 1;

     var filename = "http://jsroot.gsi.de/files/legends.root";
     JSROOT.OpenFile(filename, function(file) {
        file.ReadObject("legends;1", function(obj) {
           JSROOT.draw("drawing", obj, "");
        });
     });
   </script>

</head>

<body>
  <div id="drawing" style="width:800px; height:600px"></div>
</body>

</html>


Add one more example for gulp with MathJax
Add one more example for gulp with MathJax