text: // Test import of a JavaScript module
  import { example } from "@/js/example";
  
  // Test import of an asset
  import webpackLogo from "@/images/webpack-logo.svg";
  
  // Test import of styles
  import "@/styles/index.scss";
  
  // Appending to the DOM
  const logo = document.createElement("img");
  logo.src = webpackLogo;
  
  const heading = document.createElement("h1");
  heading.textContent = example();
  
  const app = document.querySelector("#root");
  app.append(logo, heading);
  
  // Enable hot updates with HMR for this module
  if (module.hot) {
    module.hot.accept();
  }
  