UNPKG

bootstrap-vue-next

Version:

Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development

15 lines (14 loc) 453 B
//#region src/utils/console.ts var shouldLogToConsole = process.env.NODE_ENV !== "production"; var withKey = (key) => `[BootstrapVueNext:${key}]`; var warn = (key, ...args) => { if (!shouldLogToConsole) return; console.warn(withKey(key), ...args); }; var error = (key, ...args) => { if (!shouldLogToConsole) return; console.error(withKey(key), ...args); }; //#endregion export { warn as n, error as t }; //# sourceMappingURL=console-DaUCJgpk.js.map