This file (621B) exceeds the allowed full mode (48 kb) size. The editor full height is disabled, only scrolling is allowed.
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height mode.
#!/usr/bin/env node
import fs from 'fs'
import path from 'path'
import { fileURLToPath } from 'url'
const __dirname = path.dirname(fileURLToPath(import.meta.url))
const isDevelopment = process.env.NODE_ENV === 'development'
const srcBootModule = '../src/lib/boot.mjs'
const distBootModule = '../dist/lib/boot.mjs'
const distBootFilename = path.resolve(__dirname, '../dist/lib/boot.mjs')
const bootModule = isDevelopment || !fs.existsSync(distBootFilename)
? srcBootModule
: distBootModule
const bootPath = path.resolve(__dirname, bootModule)
const mod = await import(bootPath)
const boot = mod.default
boot()
| / | Focus search |
| ? | Show this help |
| Esc | Unfocus input |