GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Website/vite.aliases.ts at main · DigitalTrustProtocol/Website

Expand file tree

/

vite.aliases.ts

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
18 lines (16 loc) · 939 Bytes
/

vite.aliases.ts

Copy path

File metadata and controls

18 lines (16 loc) · 939 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { fileURLToPath } from 'node:url';
import type { Alias } from 'vite';
const vendor = fileURLToPath(new URL('./vendor/trust-graph/', import.meta.url));
/**
* Module aliases shared by the site, enhance, and test builds. `@dtp/*`
* resolves to the vendored TrustGraph build (decision W-D9); tsconfig.json
* maps the same names to its declarations.
*/
export const aliases: Alias[] = [
{ find: /^~\//, replacement: `${fileURLToPath(new URL('./app/', import.meta.url))}` },
{ find: /^@dtp\/trust-graph$/, replacement: `${vendor}packages/trust-graph/dist/main.js` },
{ find: /^@dtp\/trust-protocol$/, replacement: `${vendor}packages/trust-protocol/dist/index.js` },
{ find: /^@dtp\/trust-query$/, replacement: `${vendor}packages/trust-query/dist/index.js` },
{ find: /^@dtp\/conformance\/(.+)$/, replacement: `${vendor}packages/conformance/dist/$1.js` },
{ find: /^@dtp\/corpus\//, replacement: `${vendor}corpus/` },
];
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.