Add a search bar: case-insensitive, steps through matches with Tab/Shift+Tab (Refs #27)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2
build.js
2
build.js
@@ -17,7 +17,7 @@ const root = dirname(fileURLToPath(import.meta.url));
|
||||
const read = (p) => readFileSync(join(root, 'src', p), 'utf8');
|
||||
|
||||
// Modules are concatenated (ES `import` lines and `export` keywords dropped) ahead of app.js into one scope.
|
||||
const MODULES = ['crypto.js', 'images.js', 'model.js', 'ops.js', 'print.js', 'template.js', 'version.js'];
|
||||
const MODULES = ['crypto.js', 'images.js', 'model.js', 'ops.js', 'print.js', 'search.js', 'template.js', 'version.js'];
|
||||
export function bundleJs() {
|
||||
return MODULES.map((f) => read(f).replace(/^import .*$/gm, '').replace(/^export /gm, '')).concat(read('app.js')).join('\n');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user