This repository has been archived on 2026-05-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
novarix-networks-homepage/node_modules/next/dist/trace/report/to-json-build.js
T
Kismet Hasanaj 34dc9aec52 .
2026-05-02 20:07:02 +02:00

40 lines
1.1 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
const _shared = require("../shared");
const _constants = require("../../shared/lib/constants");
const _tojson = require("./to-json");
const allowlistedEvents = new Set([
'next-build',
'run-turbopack',
'run-webpack',
'run-typescript',
'run-eslint',
'static-check',
'collect-build-traces',
'static-generation',
'output-export-full-static-export',
'adapter-handle-build-complete',
'output-standalone',
'telemetry-flush',
'turbopack-build-events',
'turbopack-persistence',
'turbopack-compaction'
]);
const _default = (0, _tojson.createJsonReporter)({
filename: 'trace-build',
sizeLimit: Infinity,
filter: (event)=>{
const phase = _shared.traceGlobals.get('phase');
return phase === _constants.PHASE_PRODUCTION_BUILD && allowlistedEvents.has(event.name);
}
});
//# sourceMappingURL=to-json-build.js.map