Back to Black Site Map Editor
SOURCE / PINNED RELEASE

Made of little things.

Black Site Map Editor

Release
32a57733b7e9…
Author-recorded commit
3f54890f542f…
License
LICENSE
Author’s source reference
nostr://npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr/wss%3A%2F%2Fgit.shakespeare.diy%2F/black-site-map-editor

Archive hash verified: 7a4b1abbac7db5b0…. The source-to-build association is the author’s claim; it has not been independently rebuilt.

vite.config.ts
import { defineConfig } from 'vite';
import { nip5aManifest } from '@napplet/vite-plugin';

export default defineConfig({
    build: {
        // Modern browsers only: keeps class fields and #private members native
        // instead of lowering them to WeakMap helpers.
        target: 'es2022',
        // Vite's module-preload polyfill calls `fetch`; one inlined entry needs no
        // preload graph, and NIP-5D napplet code has no ambient network authority.
        modulePreload: { polyfill: false },
    },
    plugins: [
        // Produce one self-contained `/index.html` for NIP-5D `srcdoc` loading,
        // soyLI publishes its raw HTML hash using standalone NIP-5D manifests.
        nip5aManifest({
            nappletType: 'black-site-editor',
            artifactMode: 'single-file',
            requires: ['identity', 'outbox', 'resource', 'upload'],
        }),
    ],
});