create project
This commit is contained in:
24
kitabcitab/node_modules/next/dist/esm/lib/web/chalk.js
generated
vendored
Normal file
24
kitabcitab/node_modules/next/dist/esm/lib/web/chalk.js
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
// In the web runtime, we create an alternative object that just outputs the
|
||||
// message to the console without any styling. The same APIs are supported
|
||||
// for compatibility:
|
||||
// - chalk.red('error')
|
||||
// - chalk.bold.cyan('message')
|
||||
// - chalk.hex('#fff').underline('hello')
|
||||
const chalk = new Proxy((s)=>s, {
|
||||
get (_, prop) {
|
||||
if ([
|
||||
"hex",
|
||||
"rgb",
|
||||
"ansi256",
|
||||
"bgHex",
|
||||
"bgRgb",
|
||||
"bgAnsi256"
|
||||
].includes(prop)) {
|
||||
return ()=>chalk;
|
||||
}
|
||||
return chalk;
|
||||
}
|
||||
});
|
||||
export default chalk;
|
||||
|
||||
//# sourceMappingURL=chalk.js.map
|
||||
Reference in New Issue
Block a user