a42061d9ee
- Added `pi update` command for checking and installing CLI updates from GitHub releases or bun. - Added cross-platform installer scripts (shell and PowerShell) with automatic PATH configuration. - Changed HTML export to use compile-time bundled templates via Bun macros. - Changed `exportToHtml` and `exportFromFile` functions to async operations.
17 lines
338 B
TypeScript
17 lines
338 B
TypeScript
/**
|
|
* Type declarations for Bun's import attributes.
|
|
* These allow importing non-JS files as text at build time.
|
|
*/
|
|
|
|
// Markdown files imported as text
|
|
declare module "*.md" {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
// Text files imported as text
|
|
declare module "*.txt" {
|
|
const content: string;
|
|
export default content;
|
|
}
|