Today-I-Learned-Blog

Serve, A Light-Weight Webserver

Today I learned “Serve” is a quick and useful webserver.


With Serve, quickly list a projects contents and browse subfolders

Install Serve

In React, Setup a build to run Webpack and Serve

{
  "presets": ["env", "stage-0", "react"]
}

In webpack.config.js

 use: {
          loader: "babel-loader",
          options: {
            presets: ["env", "stage-0", "react"]
          }
        }
Start Server

TL;DR

References