GoScrobble/web/node_modules/.cache/babel-loader/2c5d2c8f888bf9ce4c9fba5246a79ccc.json

1 line
1.3 KiB
JSON
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
{"ast":null,"code":"var isProduction = process.env.NODE_ENV === 'production';\nvar prefix = 'Invariant failed';\n\nfunction invariant(condition, message) {\n if (condition) {\n return;\n }\n\n if (isProduction) {\n throw new Error(prefix);\n }\n\n throw new Error(prefix + \": \" + (message || ''));\n}\n\nexport default invariant;","map":{"version":3,"sources":["/app/node_modules/tiny-invariant/dist/tiny-invariant.esm.js"],"names":["isProduction","process","env","NODE_ENV","prefix","invariant","condition","message","Error"],"mappings":"AAAA,IAAIA,YAAY,GAAGC,OAAO,CAACC,GAAR,CAAYC,QAAZ,KAAyB,YAA5C;AACA,IAAIC,MAAM,GAAG,kBAAb;;AACA,SAASC,SAAT,CAAmBC,SAAnB,EAA8BC,OAA9B,EAAuC;AACnC,MAAID,SAAJ,EAAe;AACX;AACH;;AACD,MAAIN,YAAJ,EAAkB;AACd,UAAM,IAAIQ,KAAJ,CAAUJ,MAAV,CAAN;AACH;;AACD,QAAM,IAAII,KAAJ,CAAUJ,MAAM,GAAG,IAAT,IAAiBG,OAAO,IAAI,EAA5B,CAAV,CAAN;AACH;;AAED,eAAeF,SAAf","sourcesContent":["var isProduction = process.env.NODE_ENV === 'production';\nvar prefix = 'Invariant failed';\nfunction invariant(condition, message) {\n if (condition) {\n return;\n }\n if (isProduction) {\n throw new Error(prefix);\n }\n throw new Error(prefix + \": \" + (message || ''));\n}\n\nexport default invariant;\n"]},"metadata":{},"sourceType":"module"}