Files
bedrock/resources/scripts/app.js
Kelly Mears f297df0942 bud 5.4.0 (#2983)
Co-authored-by: Ben Word <ben@benword.com>
2022-02-23 08:45:08 -06:00

22 lines
326 B
JavaScript

import {domReady} from '@roots/sage/client';
/**
* app.main
*/
const main = async (err) => {
if (err) {
// handle hmr errors
console.error(err);
}
// application code
};
/**
* Initialize
*
* @see https://webpack.js.org/api/hot-module-replacement
*/
domReady(main);
import.meta.webpackHot?.accept(main);