const path = require('path');

module.exports = {
  entry: './src/index.js',
  output: {
    filename: 'floating-point-converter.js',
    path: path.resolve(__dirname, 'dist')
  }
};

const path = require('path');

module.exports = {
  entry: './src/index.js',
  devtool: 'inline-source-map',
  devServer: {
    contentBase: './dist',
    hot: true
  },
  output: {
    filename: 'bundle.js',
    path: path.resolve(__dirname, 'dist')
  }
};

Add dev server