{"size": 597, "ext": "js", "max_stars_repo_path": "config/webpack.dev.js", "max_stars_repo_name": "rishichawda/what-is-your-wpm", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "config/webpack.dev.js", "max_issues_repo_name": "rishichawda/what-is-your-wpm", "max_issues_repo_issues_event_min_datetime": "2021-03-08T22:56:47.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T07:08:38.000Z", "max_forks_repo_path": "config/webpack.dev.js", "max_forks_repo_name": "rishichawda/simple-typeracer", "max_forks_repo_forks_event_min_datetime": "2019-07-21T18:31:28.000Z", "max_forks_repo_forks_event_max_datetime": "2019-07-21T18:31:28.000Z"}
{"max_stars_count": null, "max_issues_count": 6, "max_forks_count": 1, "avg_line_length": 23.88, "max_line_length": 65, "alphanum_fraction": 0.6247906198}
const merge = require('webpack-merge')
const common = require('./webpack.common.js')
const path = require('path')
const webpack = require("webpack");
const Dotenv = require("dotenv-webpack");

module.exports = merge(common, {
   devtool: 'inline-source-map',
   mode: 'development',
   devServer: {
    contentBase: path.join(__dirname, '../dist'),
    hot: true,
  },
  plugins: [
    new webpack.DefinePlugin({
      "process.env": {
        NODE_ENV: JSON.stringify("development")
      }
    }),
    new Dotenv({
      path: path.resolve(process.cwd(), "config/development.env")
    })
  ]
})
