// Import
const updateFiles = require("../../Common/Build/update-files");

// Update the files
updateFiles(
   __dirname, "../../../../Bin/JS", "./wwwroot/Common", true,
   [
      "Leadtools.js",
      "Leadtools.Controls.js",
      "Leadtools.ImageProcessing.Main.js",
      "Leadtools.ImageProcessing.Color.js",
      "Leadtools.ImageProcessing.Core.js",
      "Leadtools.ImageProcessing.Effects.js",
      "Leadtools.Annotations.Engine.js",
      "Leadtools.Annotations.Designers.js",
      "Leadtools.Annotations.Rendering.JavaScript.js",
      "Leadtools.Annotations.Automation.js",
      "Leadtools.Document.js",
      "Leadtools.Document.Viewer.js",
      "Leadtools.Pdf.Compatibility.js",
      "Leadtools.Pdf.js",
      "Leadtools.Pdf.Worker.js",
      "Leadtools.LEADVIEW.js",

   ]
);

updateFiles(
   __dirname, "../../../../Bin/JS", "./dts", true,
   [
      "Leadtools.d.ts",
      "Leadtools.Controls.d.ts",
      "Leadtools.Annotations.Engine.d.ts",
      "Leadtools.Annotations.Designers.d.ts",
      "Leadtools.Annotations.Rendering.JavaScript.d.ts",
      "Leadtools.Annotations.Automation.d.ts",
      "Leadtools.Document.d.ts",
      "Leadtools.Document.Viewer.d.ts",
      "Leadtools.LEADVIEW.d.ts",
      "ThirdParty/jquery/jquery.d.ts",
   ]
);


updateFiles(
   __dirname, "../../../../Bin/JS", "./wwwroot/Styles", true,
   [
      "Leadtools.LEADVIEW.css",
   ]
);


