Initial boiler plate project
This commit is contained in:
13
node_modules/next/dist/esm/shared/lib/utils/warn-once.js
generated
vendored
Normal file
13
node_modules/next/dist/esm/shared/lib/utils/warn-once.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
let warnOnce = (_)=>{};
|
||||
if (process.env.NODE_ENV !== "production") {
|
||||
const warnings = new Set();
|
||||
warnOnce = (msg)=>{
|
||||
if (!warnings.has(msg)) {
|
||||
console.warn(msg);
|
||||
}
|
||||
warnings.add(msg);
|
||||
};
|
||||
}
|
||||
export { warnOnce };
|
||||
|
||||
//# sourceMappingURL=warn-once.js.map
|
||||
1
node_modules/next/dist/esm/shared/lib/utils/warn-once.js.map
generated
vendored
Normal file
1
node_modules/next/dist/esm/shared/lib/utils/warn-once.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../../../../src/shared/lib/utils/warn-once.ts"],"names":["warnOnce","_","process","env","NODE_ENV","warnings","Set","msg","has","console","warn","add"],"mappings":"AAAA,IAAIA,WAAW,CAACC,KAAe;AAC/B,IAAIC,QAAQC,GAAG,CAACC,QAAQ,KAAK,cAAc;IACzC,MAAMC,WAAW,IAAIC;IACrBN,WAAW,CAACO;QACV,IAAI,CAACF,SAASG,GAAG,CAACD,MAAM;YACtBE,QAAQC,IAAI,CAACH;QACf;QACAF,SAASM,GAAG,CAACJ;IACf;AACF;AAEA,SAASP,QAAQ,GAAE"}
|
||||
Reference in New Issue
Block a user