mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-16 06:11:38 +00:00
Feature: use nuxt bridge to bundle client
This commit is contained in:
parent
98c117f0b8
commit
228b5203a8
23 changed files with 8484 additions and 19783 deletions
17
client/nitro.entry.js
Normal file
17
client/nitro.entry.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import '#internal/nitro/virtual/polyfill'
|
||||
|
||||
const nitroApp = useNitroApp()
|
||||
const listener = toNodeListener(nitroApp.h3App)
|
||||
const handler = listener
|
||||
{
|
||||
process.on(
|
||||
"unhandledRejection",
|
||||
(err) => console.error("[nitro] [dev] [unhandledRejection] " + err)
|
||||
);
|
||||
process.on(
|
||||
"uncaughtException",
|
||||
(err) => console.error("[nitro] [dev] [uncaughtException] " + err)
|
||||
);
|
||||
}
|
||||
|
||||
export { useRuntimeConfig, getRouteRules, handler, listener, useNitroApp };
|
||||
Loading…
Add table
Add a link
Reference in a new issue