This sample demonstrates how to use Vite to build an OpenFL application targeting html5. It displays a simple rectangle.
To start a local development server, run the following command. Then, open http://localhost:5173/ in a web browser.
npm startTo build a production JavaScript bundle, run the following command:
npm run build