{"size": 909, "ext": "js", "max_stars_repo_path": "config/webpack.dev.js", "max_stars_repo_name": "hugofabricio/fiap-boilerplate", "max_stars_repo_stars_event_min_datetime": "2019-03-27T01:52:16.000Z", "max_stars_repo_stars_event_max_datetime": "2020-03-10T19:02:38.000Z", "max_issues_repo_path": "config/webpack.dev.js", "max_issues_repo_name": "hugofabricio/fiap-boilerplate", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "config/webpack.dev.js", "max_forks_repo_name": "hugofabricio/fiap-boilerplate", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 3, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.1395348837, "max_line_length": 62, "alphanum_fraction": 0.5280528053}
const path = require('path')

const webpack = require('webpack')
const merge = require('webpack-merge')
const settings = require('./settings')
const common = require('./webpack.common.js')

module.exports = merge(common, {
  mode: 'development',
  devtool: 'cheap-eval-source-map',
  devServer: {
    contentBase: path.join(settings.root, settings.paths.src),
    clientLogLevel: 'error',
    watchContentBase: true,
    hot: true,
    open: true,
    port: settings.port,
    host: settings.devHost
  },
  module: {
    rules: [
      {
        test: /\.(sa|sc|c)ss$/,
        use: [
          {
            loader: 'style-loader'
          },
          {
            loader: 'css-loader'
          },
          {
            loader: 'postcss-loader'
          },
          {
            loader: 'sass-loader'
          }
        ]
      }
    ]
  },
  plugins: [new webpack.HotModuleReplacementPlugin()]
})
