This codebase houses the code for embedded conversation and embedded messenger.
Make changes to files in /src
directory.
To compile typescript changes.
npm run build
Or, compile and watch for typescript changes.
npm run build:watch
On change, the /dist
folder will be updated with generated javascript and source maps.
The scripts/build.js
file handles bundling and outputting the library files that will be hosted by our CDN.
Run the following command to build the scripts and update the lib files.
npm run build
npm run docs
src/*
--> dist/*
--> lib/*
src/ # contains the typescript files we create.
dist/ # contains the compiled javascript files. (Compiled with tsc)
lib/ # contains the bundled and minified lib files. (Build with build.js)
To test changes locally, use the Playground repo. It contains sample apps that use the snippet.
git clone git@github.com:TextUsBiz/Embedded-Tesseract-Playground.git