mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
1 line
1.4 KiB
JSON
1 line
1.4 KiB
JSON
|
{"ast":null,"code":"var isProduction = process.env.NODE_ENV === 'production';\n\nfunction warning(condition, message) {\n if (!isProduction) {\n if (condition) {\n return;\n }\n\n var text = \"Warning: \" + message;\n\n if (typeof console !== 'undefined') {\n console.warn(text);\n }\n\n try {\n throw Error(text);\n } catch (x) {}\n }\n}\n\nexport default warning;","map":{"version":3,"sources":["/app/node_modules/tiny-warning/dist/tiny-warning.esm.js"],"names":["isProduction","process","env","NODE_ENV","warning","condition","message","text","console","warn","Error","x"],"mappings":"AAAA,IAAIA,YAAY,GAAGC,OAAO,CAACC,GAAR,CAAYC,QAAZ,KAAyB,YAA5C;;AACA,SAASC,OAAT,CAAiBC,SAAjB,EAA4BC,OAA5B,EAAqC;AACnC,MAAI,CAACN,YAAL,EAAmB;AACjB,QAAIK,SAAJ,EAAe;AACb;AACD;;AAED,QAAIE,IAAI,GAAG,cAAcD,OAAzB;;AAEA,QAAI,OAAOE,OAAP,KAAmB,WAAvB,EAAoC;AAClCA,MAAAA,OAAO,CAACC,IAAR,CAAaF,IAAb;AACD;;AAED,QAAI;AACF,YAAMG,KAAK,CAACH,IAAD,CAAX;AACD,KAFD,CAEE,OAAOI,CAAP,EAAU,CAAE;AACf;AACF;;AAED,eAAeP,OAAf","sourcesContent":["var isProduction = process.env.NODE_ENV === 'production';\nfunction warning(condition, message) {\n if (!isProduction) {\n if (condition) {\n return;\n }\n\n var text = \"Warning: \" + message;\n\n if (typeof console !== 'undefined') {\n console.warn(text);\n }\n\n try {\n throw Error(text);\n } catch (x) {}\n }\n}\n\nexport default warning;\n"]},"metadata":{},"sourceType":"module"}
|