SOURCE / PINNED RELEASE
Made of little things.
Poly Dogfight
- Release
- ad11a55ec88c…
- Author-recorded commit
- 483e0e0c5000…
- License
- LICENSE
- Author’s source reference
- nostr://npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr/wss%3A%2F%2Fgit.shakespeare.diy%2F/poly-dogfight
Archive hash verified: fbf8fc78f64d293a…. The source-to-build association is the author’s claim; it has not been independently rebuilt.
import { defineConfig } from 'vite';
import { nip5aManifest } from '@napplet/vite-plugin';
// napplet.json is the soyLI publishing source; keep the build's embedded
// manifest metadata in step with it.
import project from './napplet.json' with { type: 'json' };
export default defineConfig({
build: {
// 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 },
// three.js is inlined into the single-file artifact.
chunkSizeWarningLimit: 900,
},
plugins: [
// Produce one self-contained `/index.html` for NIP-5D `srcdoc` loading,
// then content-address it with the NIP-5A tag/hash schema.
nip5aManifest({
nappletType: 'poly-dogfight',
title: project.title,
description: project.description,
// Guarded enhancements (O tags), never inferred as requirements.
optional: project.optionalDomains,
artifactMode: 'single-file',
}),
],
});
