Javascript files

Set all your JavaScript here.

The main file is script.js

ViteJS compile the JavaScript in a bundle for production.

Add file if is necessary and import it in main file with ESM import.

import myFunction from 'myFile'

Legacy

A ViteJS plugin Legacy is used for the compatibility with old browsers.