refactor: replace chalk with ansi-colors

This commit is contained in:
Igor Randjelovic
2022-10-04 21:06:25 +02:00
parent fcb9285504
commit 2e1d39196d
3 changed files with 3 additions and 3 deletions

View File

@@ -21,8 +21,8 @@
"@pmmmwh/react-refresh-webpack-plugin": "~0.5.7",
"acorn": "^8.0.0",
"acorn-stage3": "^4.0.0",
"ansi-colors": "^4.1.3",
"babel-loader": "^8.0.0",
"chalk": "^4.0.0",
"cli-highlight": "^2.0.0",
"commander": "^8.0.0",
"copy-webpack-plugin": "^9.0.0",

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env node
import { redBright, green, greenBright, yellow } from 'chalk';
import { redBright, green, greenBright, yellow } from 'ansi-colors';
import { program } from 'commander';
import dedent from 'ts-dedent';
import webpack from 'webpack';

View File

@@ -22,4 +22,4 @@ await fs.move(from, to, {
});
console.log(chalk.green(`@nativescript/webpack has been built and packed.\n`));
console.log(to);
console.log(to);