{"size": 569, "ext": "js", "max_stars_repo_path": "webpack.config.js", "max_stars_repo_name": "urdubiometer/urdubiometerjs", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "webpack.config.js", "max_issues_repo_name": "urdubiometer/urdubiometerjs", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "webpack.config.js", "max_forks_repo_name": "urdubiometer/urdubiometerjs", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 14.9736842105, "max_line_length": 59, "alphanum_fraction": 0.6151142355}
/* eslint-env es6 */

'use strict'

const path = require('path')

const serverConfig = {
  target: 'node',
  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: 'urdubiometer.node.js'
  },
  mode: 'production'

}

const clientConfig = {
  target: 'web', // <=== can be omitted as default is 'web'
  mode: 'production',
  devtool: 'source-map',
  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: 'urdubiometer.js',
    library: 'UrduBioMeter'

  },
  node: {
    global: true
  }

}

module.exports = [
  serverConfig,
  clientConfig

]
