FoushWare / React_typescript_coding_blocks

My workflow for JavaScript (React, NodeJS)…consists of Jest, ESLint, typescript, husky, webpack, Babel
1 stars 0 forks source link

make the webpack devserver open in Browser #13

Closed FoushWare closed 3 years ago

FoushWare commented 3 years ago

Edit webpack.confg.js--> open:true



 devServer: {
    static: {
      directory: path.join(__dirname, 'dist'),
    },
    compress: true,
    port: 9000,
    hot: true,
    open: true
  },
``