create project
This commit is contained in:
30
kitabcitab/node_modules/next/dist/lib/web/chalk.js
generated
vendored
Normal file
30
kitabcitab/node_modules/next/dist/lib/web/chalk.js
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
// 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;
|
||||
}
|
||||
});
|
||||
var _default = chalk;
|
||||
exports.default = _default;
|
||||
|
||||
//# sourceMappingURL=chalk.js.map
|
||||
Reference in New Issue
Block a user