UNPKG

vite.js

Version:

The simplest way to bootstrap a nodejs server and dive straight into coding.

13 lines (11 loc) 230 B
const chalk = require("chalk"); function log(msg) { console.log(chalk.green("vite.js log: " + msg)); } function error(error) { console.error(chalk.red(`vite.js err: ${error.message}`)); } module.exports = { log, error };