Initial boiler plate project
This commit is contained in:
2
node_modules/next/dist/shared/lib/utils/warn-once.d.ts
generated
vendored
Normal file
2
node_modules/next/dist/shared/lib/utils/warn-once.d.ts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
declare let warnOnce: (_: string) => void;
|
||||
export { warnOnce };
|
||||
22
node_modules/next/dist/shared/lib/utils/warn-once.js
generated
vendored
Normal file
22
node_modules/next/dist/shared/lib/utils/warn-once.js
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "warnOnce", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return warnOnce;
|
||||
}
|
||||
});
|
||||
let warnOnce = (_)=>{};
|
||||
if (process.env.NODE_ENV !== "production") {
|
||||
const warnings = new Set();
|
||||
warnOnce = (msg)=>{
|
||||
if (!warnings.has(msg)) {
|
||||
console.warn(msg);
|
||||
}
|
||||
warnings.add(msg);
|
||||
};
|
||||
}
|
||||
|
||||
//# sourceMappingURL=warn-once.js.map
|
||||
1
node_modules/next/dist/shared/lib/utils/warn-once.js.map
generated
vendored
Normal file
1
node_modules/next/dist/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":";;;;+BAWSA;;;eAAAA;;;AAXT,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"}
|
||||
Reference in New Issue
Block a user