This document provides instructions for building and serving an Add-on in JavaScript and handling content translation.
To build the Add-on, follow these steps:
- Run the following command to build the Add-on for production:
yarn build
- If you want to build the Add-on for development purposes, run:
yarn build:dev
yarn test
yarn lint
yarn start
Access the Add-on script at the following URL:
https://127.0.0.1:8080/dist/add-on.js