nitro
nitro copied to clipboard
Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.
### Reproduction ```ts import '#internal/nitro/virtual/polyfill' import {createSecureServer, createServer, Http2ServerRequest, Http2ServerResponse} from 'http2' import destr from 'destr' import { nitroApp } from '../app' import { useRuntimeConfig } from '#internal/nitro' const cert...
Context: https://github.com/nuxt/framework/issues/4009 Proposal: ```js routes: { '/public': { cors: true } } ``` We probably need an h3 utility for this as well: https://github.com/unjs/h3/issues/82
### Environment nitropack: 0.4.4 node: 16.13.2 no config ### Reproduction 1. create a new project 2. install webtorrent 3. add this code: ``` import WebTorrent from "webtorrent"; const client =...
### Environment nitropack: 0.4.4 node: 16.13.2 no config ### Reproduction 1. create the folder structure seen in the picture 2. npx nitropack build 3. node .output/server/index.mjs 4. navigate to localhost:3000...
https://docs.aws.amazon.com/lambda/latest/dg/lambda-edge.html https://github.com/nuxt/nuxt.js/issues/11700
https://github.com/unjs/nitro/blob/a96c139412dca31c3e5cb6b6fcd4a922e5e3803c/src/types/handler.ts#L31 Type is available from `H3`.
### Environment NodeJS version : 14.16.2 Nitropack : 0.2.2 ### Reproduction - Install the library "pg" (e.g : `npm i pg`) - Use `import { Pool } from 'pg'` in...
Context: https://github.com/nuxt/framework/issues/3982 Relevant upstream improvement: https://github.com/unjs/unenv/issues/23
### Environment - Operating System: `Windows_NT` - Node Version: `v16.13.1` - Nuxt Version: `3.0.0-27338323.1e98259` - Package Manager: `[email protected]` - Bundler: `Vite` - User Config: `-` - Runtime Modules: `-` -...