initial commit. phase 1 complete

This commit is contained in:
2026-05-05 20:45:19 +02:00
parent d9c68313a0
commit 89e058ffac
20631 changed files with 3224610 additions and 43 deletions
+22
View File
@@ -0,0 +1,22 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return optimize;
}
});
async function optimize(html, config) {
let AmpOptimizer;
try {
AmpOptimizer = require("next/dist/compiled/@ampproject/toolbox-optimizer");
} catch (_) {
return html;
}
const optimizer = AmpOptimizer.create(config);
return optimizer.transformHtml(html, config);
}
//# sourceMappingURL=optimize-amp.js.map