Skip to main content
Home

@radish/core@1.0.0-alpha.44
Built and signed on GitHub Actions

This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
Published
a month ago (1.0.0-alpha.44)
Package root>conventions.ts
import { join } from "jsr:@std/path@^1.0.9"; /** * This module exports all the conventions used throughout the framework * * You can use this module to create plugins relying on the framework conventions * * @module */ /** * Path to the build folder */ export const buildFolder = "build"; /** * Path to the elements folder */ export const elementsFolder = "elements"; /** * Path to the routes folder */ export const routesFolder = "routes"; /** * Path to the lib folder */ export const libFolder = "lib"; /** * Path to the static files folder */ export const staticFolder = "static"; /** * Path to the generated content folder */ export const generatedFolder = "_generated"; /** * Path to the app skeleton */ export const appPath: string = join(routesFolder, "_app.html"); /** * Regex targeting the %radish.head% of the skeleton */ export const target_head = /^\s*%radish\.head%/m;