current commit
260714.9 · Prefer single quotes for stings in JS library files. NFC (#27322)
/**
 * @license
 * Copyright 2023 The Emscripten Authors
 * SPDX-License-Identifier: MIT
 */

addToLibrary({
  $OPFS__deps: ['wasmfs_create_opfs_backend'],
  $OPFS: {
    createBackend(opts) {
      return _wasmfs_create_opfs_backend();
    }
  },
});

if (!WASMFS) {
  error('using -lopfs.js requires using WasmFS (-sWASMFS)');
}