import JSZip from "jszip";
import musicMetadataBrowser from "music-metadata-browser";
import WebampLazy from "./webampLazy";

class Winamp extends WebampLazy {
  constructor(options) {
    super({
      ...options,
      requireJSZip: () => JSZip,
      requireMusicMetadata: () => musicMetadataBrowser
    });
  }
}

export default Winamp;

import JSZip from "jszip";
import * as musicMetadataBrowser from "music-metadata-browser";
import WebampLazy from "./webampLazy";

class Winamp extends WebampLazy {
  constructor(options) {
    super({
      ...options,
      requireJSZip: () => JSZip,
      requireMusicMetadata: () => musicMetadataBrowser
    });
  }
}

export default Winamp;

Fix bad import of music-metadata-browser
Fix bad import of music-metadata-browser
