Install
npm install -g norice
write config
norice.config.js
const path = require('path');
module.exports = {
webpackDev: require('./webpack.dev.js'),
api: {
'/test': {
get: {
body: () => 'hello world!',
},
},
},
};
run
$ norice -p 3000