Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
47
Frontend-Learner/node_modules/unhead/dist/legacy.mjs
generated
vendored
Normal file
47
Frontend-Learner/node_modules/unhead/dist/legacy.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
import { a as createUnhead } from './shared/unhead.CGCfDSEL.mjs';
|
||||
import { D as DeprecationsPlugin, P as PromisesPlugin, T as TemplateParamsPlugin, A as AliasSortingPlugin } from './shared/unhead.ckV6dpEQ.mjs';
|
||||
export { u as useHead, a as useHeadSafe, b as useSeoMeta, c as useServerHead, d as useServerHeadSafe, e as useServerSeoMeta } from './shared/unhead.BPM0-cfG.mjs';
|
||||
export { u as useScript } from './shared/unhead.B578PsDV.mjs';
|
||||
import 'hookable';
|
||||
import './shared/unhead.CYpwL2hc.mjs';
|
||||
import './shared/unhead.yem5I2v_.mjs';
|
||||
import './shared/unhead.CbpEuj3y.mjs';
|
||||
import './shared/unhead.CApf5sj3.mjs';
|
||||
import './shared/unhead.DQc16pHI.mjs';
|
||||
import './shared/unhead.BYvz9V1x.mjs';
|
||||
|
||||
const activeHead = { value: null };
|
||||
function getActiveHead() {
|
||||
return activeHead?.value;
|
||||
}
|
||||
function createServerHead(options = {}) {
|
||||
return activeHead.value = createUnhead({
|
||||
disableCapoSorting: true,
|
||||
...options,
|
||||
// @ts-expect-error untyped
|
||||
document: false,
|
||||
plugins: [
|
||||
...options.plugins || [],
|
||||
DeprecationsPlugin,
|
||||
PromisesPlugin,
|
||||
TemplateParamsPlugin,
|
||||
AliasSortingPlugin
|
||||
]
|
||||
});
|
||||
}
|
||||
function createHead(options = {}) {
|
||||
return activeHead.value = createUnhead({
|
||||
disableCapoSorting: true,
|
||||
...options,
|
||||
plugins: [
|
||||
...options.plugins || [],
|
||||
DeprecationsPlugin,
|
||||
PromisesPlugin,
|
||||
TemplateParamsPlugin,
|
||||
AliasSortingPlugin
|
||||
]
|
||||
});
|
||||
}
|
||||
const createHeadCore = createUnhead;
|
||||
|
||||
export { activeHead, createHead, createHeadCore, createServerHead, createUnhead, getActiveHead };
|
||||
Loading…
Add table
Add a link
Reference in a new issue