/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-1-setup-b887180bcc0e-1-setup-s0445-c0003.md

1. Setup (4) - hono-docs

1. Setup (4) Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt 1 setup Summary Once you have a basi...

1. Setup (4)

Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#1-setup

Summary

Once you have a basic TypeScript configuration file (tsconfig.json), please ensure it has the following configuration: - compilerOptions.module set to "nodenext" Since componentize-js (and jco which re-uses it) supports only si...

Content

Once you have a basic TypeScript configuration file (tsconfig.json), please ensure it has the following configuration:

  • compilerOptions.module set to "nodenext"

Since componentize-js (and jco which re-uses it) supports only single JS files, bundling is necessary, so [rolldown][rolldown] can be used to create a single file bundle.

A Rolldown configuration (rolldown.config.mjs) like the following can be used:

import { defineConfig } from 'rolldown'

export default defineConfig({
  input: 'src/component.ts',
  external: /wasi:.*/,
  output: {
    file: 'dist/component.js',
    format: 'esm',
  },
})

::: info Feel free to use any other bundlers that you're more comfortable with (rolldown, esbuild, rollup, etc) :::

Kinic Wiki
Loading knowledge node
Details

Identity

database
db_23dhmsxlhukv
database_id
db_23dhmsxlhukv
path
/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-1-setup-b887180bcc0e-1-setup-s0445-c0003.md
kind
directory
role
markdown_note
children
0

Metadata

created_at
virtual
updated_at
virtual
etag
virtual
metadata_json
{}

Lint Hints

No lightweight warnings.

Outgoing Links

No outgoing links indexed.

Incoming Links

Select a file node to inspect backlinks.

Raw Source

No raw source path inferred.