mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-15 07:36:50 +03:00
Add cheatsheet tip to downloads section and fix Vercel 404
- Add download tip with cheatsheet link in downloads section - Fix cheatsheet 404 on Vercel by adding rewrite rule - Include cheatsheet.html in Bun build entrypoints Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
98e673b8f4
commit
a1a24daf3f
+5
-2
@@ -73,14 +73,17 @@ function buildTailwindCSS() {
|
||||
* CSS is pre-compiled by Tailwind CLI, then bundled with HTML/JS
|
||||
*/
|
||||
async function buildStaticSite() {
|
||||
const entrypoint = path.join(ROOT_DIR, 'public', 'index.html');
|
||||
const entrypoints = [
|
||||
path.join(ROOT_DIR, 'public', 'index.html'),
|
||||
path.join(ROOT_DIR, 'public', 'cheatsheet.html'),
|
||||
];
|
||||
const outdir = path.join(ROOT_DIR, 'build');
|
||||
|
||||
console.log('📦 Building static site with Bun...');
|
||||
|
||||
try {
|
||||
const result = await Bun.build({
|
||||
entrypoints: [entrypoint],
|
||||
entrypoints: entrypoints,
|
||||
outdir: outdir,
|
||||
minify: true,
|
||||
sourcemap: 'linked',
|
||||
|
||||
Reference in New Issue
Block a user