Frontend uudelleenrakennettu: Astro-komponentit, Wasm pääsäikeessä, ei Workeria
Vanha frontend siirretty temp/. Uusi rakenne: - StatusBar.astro, Terminal.astro, Editor.astro, Guide.astro - global.css erillinen - Wasm pääsäikeessä (ei Worker — yksinkertainen, debugattava) - Tab-completion, dropdown, projektikortti, Monaco, GUIDE.md - Ei tokenisointia eikä koodilaboratoriota Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
18
network-poc/frontend/node_modules/vitefu/src/index.cjs
generated
vendored
Normal file
18
network-poc/frontend/node_modules/vitefu/src/index.cjs
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
// CJS -> ESM proxy file
|
||||
// Reference: https://github.com/vitejs/vite/blob/9f268dad2e82c0f1276b1098c0a28f1cf245aa50/packages/vite/index.cjs
|
||||
|
||||
module.exports = require('./sync.cjs')
|
||||
|
||||
// redirect async functions to ESM
|
||||
const asyncFunctions = [
|
||||
'crawlFrameworkPkgs',
|
||||
'findDepPkgJsonPath',
|
||||
'findClosestPkgJsonPath',
|
||||
'pkgNeedsOptimization'
|
||||
]
|
||||
|
||||
for (const fn of asyncFunctions) {
|
||||
module.exports[fn] = function () {
|
||||
return import('./index.js').then((mod) => mod[fn].apply(this, arguments))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user