Webpack Dev Server

 devServer: {
    contentBase: path.join(__dirname, 'dist'),
    compress: true,
    port: 9000,
  },
 // on package json file..
 "start": "./node_modules/.bin/webpack serve",
Nazmul Hassan