0.0.1 • Published 2 years ago
less-server v0.0.1
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) {},
// },
// ],
}
0.0.1
2 years ago