Some checks failed
CI / go (push) Waiting to run
CI / docker (push) Waiting to run
CI / lint-go (push) Waiting to run
CI / lint-docs (push) Waiting to run
CI / check-paperclip (push) Waiting to run
Deploy static site / Deploy to GitHub Pages (push) Has been cancelled
Deploy static site / Deploy via Docker to hatch.surf (push) Has been cancelled
Resolved conflicts by taking GitHub versions for: - .dockerignore, .gitignore, Dockerfile, README.md, docker-compose.yml Kept deploy.sh updated to: - Pull from GitHub (primary source) - Push to Gitea (push-mirror) - Build from site/ directory (GitHub structure) Co-Authored-By: Paperclip <noreply@paperclip.ing>
40 lines
1.1 KiB
JavaScript
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
|