Skip to content

Commit

Permalink
feat(vite): adapt console output to Vite 3's
Browse files Browse the repository at this point in the history
  • Loading branch information
innocenzi committed May 31, 2022
1 parent 1be86d9 commit 52d61a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vite-plugin-laravel/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ export const config = (options: Options = {}): Plugin => {
configureServer: (server) => {
server.httpServer?.once('listening', () => {
setTimeout(() => {
server.config.logger.info(`\n ${c.magenta(`${c.bold('LARAVEL')} v${version}`)} ${c.dim(`(using ${c.white.bold(serverConfig.configName)} config)`)}\n`)
server.config.logger.info(` ${c.magenta('➜')} ${c.bold('Application')}: ${c.cyan(env.APP_URL)}`)
server.config.logger.info(` ${c.magenta('➜')} ${c.bold('Environment')}: ${c.dim(env.APP_ENV)}`)
server.config.logger.info(`\n ${c.magenta(`${c.bold('LARAVEL')} v${version}`)} ${c.dim(`using ${c.white.bold(serverConfig.configName)} config`)}\n`)
server.config.logger.info(` ${c.magenta('➜')} ${c.bold('Application')}: ${c.cyan(env.APP_URL)}`)
server.config.logger.info(` ${c.magenta('➜')} ${c.bold('Environment')}: ${c.dim(env.APP_ENV)}`)

if (serverConfig.dev_server.enabled !== false) {
const buildPath = `${server.config.root}/public/${serverConfig.build_path}`
Expand Down

0 comments on commit 52d61a2

Please # to comment.