Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
"use strict";

const _require = require('path'),
      resolve = _require.resolve;

const _require2 = require("./Chains"),
      ChainedMap = _require2.ChainedMap;

module.exports = class extends ChainedMap {
  constructor(parent) {
    super(parent); // @chainup

    this.module = this.parent.module;
    this.extend(['chunkFilename', 'crossOriginLoading', 'filename', 'library', 'libraryTarget', 'devtoolFallbackModuleFilenameTemplate', 'devtoolLineToLine', 'devtoolModuleFilenameTemplate', 'hashFunction', 'hashDigest', 'hashDigestLength', 'hashSalt', 'hotUpdateChunkFilename', 'hotUpdateFunction', 'hotUpdateMainFilename', 'jsonpFunction', 'pathinfo', 'publicPath', 'sourceMapFilename', 'sourcePrefix', 'strictModuleExceptionHandling', 'umdNamedDefine']);
  }

  path(path) {
    // resolve to absolute if we can
    if (this.parent.has('dir')) {
      const resolved = resolve(this.parent.get('dir'), path);
      return this.set('path', resolved);
    }

    return this.set('path', path);
  }

};