async function makeWebcontainer() {
  // console.log('Booting WebContainer...');
  const instance = await WebContainer.boot();
  // console.log('Boot successful!');

  // console.log('Mounting files...');
  await instance.mount(files);
  // console.log('Mounted files!');

  // console.log('Installing dependencies...');
  await wcSpawn(instance, 'npm', ['install']);
  // console.log('Installed dependencies!');

  return instance;
}
Function to initialize and configure the WebContainer.
@returns {Promise} - Promise that resolves with the configured WebContainer instance.