less-server
v0.0.1
Published
zero server by express
Downloads
5
Readme
less-server
Start
npx less-server
Config
create a zeroserver.js
in your project's folder:
module.exports = {
port: 8081,
baseDir: './dist',
//static: [['/static', './dist']],
//singleSpa: true,
// proxy: {
// '/api': {
// target: 'http://localhost:4000',
// changeOrigin: true,
// pathRewrite: { '/api': '' },
// },
// },
// middleware: [
// function (req, res, next) {},
// {
// '/url': function (req, res, next) {},
// },
// ],
}