mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
refactor: replace chalk with ansi-colors
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user