Skip to content

Development Version

We provide a development version of the library, which allows you to open developer tools in the browser, and also has less injection protection. This version can't be used in production and is for development purposes only.

  1. Install the development package in your application (replace ./idlive-document-capture-web-development.tgz with the path to the provided archive file)

    npm i idlive-document-capture-web-development file:./idlive-document-capture-web-development.tgz
    
  2. Import development package instead of production version. Below is an example implementation in Webpack

    if (process.env.NODE_ENV === 'development') {
        import('idlive-document-capture-web-development');
    } else {
        import('idlive-document-capture-web');
    }