Some test text!

Optimizing lib folder

In this document
chevron_rightDeploying with the default UI
chevron_rightDeploying with the legacy UI

By default, lib folder contains many different folders to support different configs and enhance user customizations. However, when you want to deploy it to your project, you might want to optimize the lib folder to remove unnecessary folders.

linkDeploying with the default UI

If you are deploying with the default UI, you only need the following folders/files:

  1. core
  2. ui/build
  3. webviewer.min.js

which will make the lib folder simplified as follows:

- lib
  - core
  - ui
    - build
  - webviewer.min.js

linkDeploying with the legacy UI

If you are deploying with the legacy UI, you only need the following folders/files:

  1. core
  2. ui-legacy
  3. webviewer.min.js

which will make the lib folder simplified as follows:

- lib
  - core
  - ui-legacy
  - webviewer.min.js