Skip to content

Commit

Permalink
Remove documentation about converting the app
Browse files Browse the repository at this point in the history
This is no longer possible as we now require browser support for
modules.
  • Loading branch information
CendioOssman committed Dec 30, 2020
1 parent 4a8efa6 commit 3222230
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions docs/EMBEDDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,24 +71,6 @@ query string. Currently the following options are available:
* `logging` - The console log level. Can be one of `error`, `warn`, `info` or
`debug`.

## Pre-conversion of Modules

noVNC is written using ECMAScript 6 modules. Many of the major browsers support
these modules natively, but not all. By default the noVNC application includes
a script that can convert these modules to an older format as they are being
loaded. However this process can be slow and severely increases the load time
for the application.

It is possible to perform this conversion ahead of time, avoiding the extra
load times. To do this please follow these steps:

1. Install Node.js
2. Run `npm install` in the noVNC directory
3. Run `./utils/use_require.js --with-app --as commonjs`

This will produce a `build/` directory that includes everything needed to run
the noVNC application.

## HTTP Serving Considerations
### Browser Cache Issue

Expand Down

0 comments on commit 3222230

Please sign in to comment.