@brandon_m_behring/book-scaffold-astro 4.14.0 → 4.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +13 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1216,6 +1216,14 @@ async function defineBookConfig(opts) {
|
|
|
1216
1216
|
void _author;
|
|
1217
1217
|
void _seo;
|
|
1218
1218
|
const katexExternals = wantsKatex ? [] : ["remark-math", "rehype-katex", "katex"];
|
|
1219
|
+
const restVite = rest.vite ?? {};
|
|
1220
|
+
const restSsr = restVite.ssr ?? {};
|
|
1221
|
+
const restNoExternal = restSsr.noExternal;
|
|
1222
|
+
const noExternal = restNoExternal === true ? true : [
|
|
1223
|
+
"@fontsource-variable/roboto",
|
|
1224
|
+
"@fontsource-variable/source-code-pro",
|
|
1225
|
+
...Array.isArray(restNoExternal) ? restNoExternal : restNoExternal != null ? [restNoExternal] : []
|
|
1226
|
+
];
|
|
1219
1227
|
const config = {
|
|
1220
1228
|
site,
|
|
1221
1229
|
...rest,
|
|
@@ -1227,7 +1235,11 @@ async function defineBookConfig(opts) {
|
|
|
1227
1235
|
external: katexExternals
|
|
1228
1236
|
}
|
|
1229
1237
|
},
|
|
1230
|
-
...
|
|
1238
|
+
...restVite,
|
|
1239
|
+
ssr: {
|
|
1240
|
+
...restSsr,
|
|
1241
|
+
noExternal
|
|
1242
|
+
}
|
|
1231
1243
|
}
|
|
1232
1244
|
};
|
|
1233
1245
|
return config;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brandon_m_behring/book-scaffold-astro",
|
|
3
3
|
"description": "Astro 6 + MDX toolkit for long-form technical books. Profile-aware (academic / tools / minimal); ships Tufte typography, KaTeX, BibTeX citations, Pagefind, Cloudflare Workers deploy. See PACKAGE_DESIGN.md for the API contract.",
|
|
4
|
-
"version": "4.14.
|
|
4
|
+
"version": "4.14.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Brandon Behring",
|