browser.ts 326 B

123456789101112131415
  1. export default function (
  2. moduleName: string,
  3. dirname: string,
  4. absoluteRuntime: string | boolean,
  5. ) {
  6. if (absoluteRuntime === false) return moduleName;
  7. resolveFSPath();
  8. }
  9. export function resolveFSPath() {
  10. throw new Error(
  11. "The 'absoluteRuntime' option is not supported when using @babel/standalone.",
  12. );
  13. }