%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/node_modules/tiny-warning/dist/
Upload File :
Create Path :
Current File : //var/www/html/node_modules/tiny-warning/dist/tiny-warning.esm.js

var isProduction = process.env.NODE_ENV === 'production';
function warning(condition, message) {
  if (!isProduction) {
    if (condition) {
      return;
    }

    var text = "Warning: " + message;

    if (typeof console !== 'undefined') {
      console.warn(text);
    }

    try {
      throw Error(text);
    } catch (x) {}
  }
}

export default warning;

Zerion Mini Shell 1.0