compiler.page
Version:
The compiler.page website.
22 lines (19 loc) • 474 B
JavaScript
import { join } from 'path'
const APP_DIR = 'splendid'
const BUILD_DIR = 'docs'
/** @type {import('splendid').Config} */
const config = {
appDir: APP_DIR,
layout: join(APP_DIR, 'layout/main.html'),
replacements: [
{
re: /{{ company }}/g,
replacement: '[Splendid](https://splendid.sh)',
},
],
output: BUILD_DIR,
url: 'https://splendid.page',
// to generate sitemaps:
/* url: https://website.github.io/splendid */
}
export default config