You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constexpress=require("express");constwebpack=require("webpack");constwebpackDevMiddleware=require("webpack-dev-middleware");constapp=express();constconfig=require("./webpack.config");constcompiler=webpack(config);app.use(webpackDevMiddleware(compiler,{publicPath: config.output.publicPath}));app.listen(3000,function(){console.log("Example app listening on port 3000!\n");});
The text was updated successfully, but these errors were encountered:
DevServer auto serve dist
webpack --watch
webpack-dev-server
use express to server dist folder
The text was updated successfully, but these errors were encountered: