Add named exports

Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
Richie Bendall 2021-04-17 16:02:17 +12:00
parent fa16f4ec37
commit 5dbc9d54d6
No known key found for this signature in database
GPG key ID: 1C6A99DFA9D306FC
10 changed files with 152 additions and 158 deletions

View file

@ -1,3 +1,3 @@
import chalk from '../source/index.js';
import chalk, {chalkStderr} from '../source/index.js';
console.log(`${chalk.hex('#ff6159')('testout')} ${chalk.stderr.hex('#ff6159')('testerr')}`);
console.log(`${chalk.hex('#ff6159')('testout')} ${chalkStderr.hex('#ff6159')('testerr')}`);