Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue