Sha256: 2e53c19fda98c91c2e13b185a3a46f6f0c93221eb5ddd0610b0c1ef33811be88

Contents?: true

Size: 602 Bytes

Versions: 7

Compression:

Stored size: 602 Bytes

Contents

// @flow

export function resolve(
  dirname: string,
  moduleName: string,
  absoluteImports: boolean | string,
): string {
  if (absoluteImports === false) return moduleName;

  throw new Error(
    `"absoluteImports" is not supported in bundles prepared for the browser.`,
  );
}

// eslint-disable-next-line no-unused-vars
export function has(basedir: string, name: string) {
  return true;
}

// eslint-disable-next-line no-unused-vars
export function logMissing(missingDeps: Set<string>) {}

// eslint-disable-next-line no-unused-vars
export function laterLogMissing(missingDeps: Set<string>) {}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
disco_app-0.16.1 test/dummy/node_modules/@babel/helper-define-polyfill-provider/src/browser/dependencies.js
disco_app-0.15.2 test/dummy/node_modules/@babel/helper-define-polyfill-provider/src/browser/dependencies.js
disco_app-0.18.4 test/dummy/node_modules/@babel/helper-define-polyfill-provider/src/browser/dependencies.js
disco_app-0.18.1 test/dummy/node_modules/@babel/helper-define-polyfill-provider/src/browser/dependencies.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@babel/helper-define-polyfill-provider/src/browser/dependencies.js
disco_app-0.14.0 test/dummy/node_modules/@babel/helper-define-polyfill-provider/src/browser/dependencies.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/@babel/helper-define-polyfill-provider/src/browser/dependencies.js