In the src directory, or wherever you have js files, create a file named meucci.js and add the following code. Ensure this file gets included in your final build (/dist) directory.If you followed the initial webpack config setup, you can simply add this file to the entry object in your webpack config.
import ModuleMeucci from "@mellowtel/module-meucci";let moduleMeucci;(async () => { moduleMeucci = new ModuleMeucci(); await moduleMeucci.init();})();
Make sure your final build directory includes the meucci.js file.If you followed the initial webpack config setup, you can simply add this file to the entry object in your webpack config.