|
@@ -13,10 +13,21 @@ class TerminalPrintPlugin {
|
|
|
const port = stats.compilation.options.devServer!.port as number;
|
|
const port = stats.compilation.options.devServer!.port as number;
|
|
|
console.log(' App running at:');
|
|
console.log(' App running at:');
|
|
|
console.log(
|
|
console.log(
|
|
|
- `- Local: ${chalk.cyan(`http://localhost:${port}${publicPath}`)}`
|
|
|
|
|
|
|
+ `- Local: ${chalk.cyan(`http://localhost:${port}${publicPath}`)}`
|
|
|
);
|
|
);
|
|
|
console.log(
|
|
console.log(
|
|
|
- `- Network: ${chalk.cyan(`http://${localIPv4!}:${port}${publicPath}`)}`
|
|
|
|
|
|
|
+ `- Network: ${chalk.cyan(`http://${localIPv4!}:${port}${publicPath}`)}`
|
|
|
|
|
+ );
|
|
|
|
|
+ console.log(
|
|
|
|
|
+ `- 赞助支持: ${chalk.cyan(`https://live.hsslive.cn/sponsors`)}`
|
|
|
|
|
+ );
|
|
|
|
|
+ console.log(
|
|
|
|
|
+ `- 付费咨询: ${chalk.cyan(`https://live.hsslive.cn/support`)}`
|
|
|
|
|
+ );
|
|
|
|
|
+ console.log(
|
|
|
|
|
+ `- 欢迎PR: ${chalk.cyan(
|
|
|
|
|
+ `billd-live目前只有作者一人开发,难免有不足的地方,欢迎提PR或Issue`
|
|
|
|
|
+ )}`
|
|
|
);
|
|
);
|
|
|
console.log();
|
|
console.log();
|
|
|
callback();
|
|
callback();
|