How to update the widget
Clone the repo, npm install
in the embed-script
folder, and npm run build
to make sure the widget builds.
Then:
- Make changes in the
embed-script
folder. - test your changes in the dev server (
npm run dev
) - Run
npm run build
to build the widget. - update the version number in
package.json
andpackage-lock.json
- publish to npm
npm publish