UNPKG

bootstrap-vue

Version:

With more than 85 components, over 45 available plugins, several directives, and 1000+ icons, BootstrapVue provides one of the most comprehensive implementations of the Bootstrap v4 component and grid system available for Vue.js v2.6, complete with extens

16 lines (13 loc) 403 B
/** * Utilities to get information about the current environment */ export const getEnv = (key, fallback = null) => { const env = typeof process !== 'undefined' && process ? process.env || {} : {} if (!key) { /* istanbul ignore next */ return env } return env[key] || fallback } export const getNoWarn = () => getEnv('BOOTSTRAP_VUE_NO_WARN') || getEnv('NODE_ENV') === 'production'