code: function createAbsolutePath(name) {
          return pathModule.resolve(
            basePath,
            name
              ? config.output.filename.replace(/\[name]/g, name)
              : config.output.filename
          );
        }
docs: /* eslint-disable no-inner-declarations