Karl O
Karl O
> @karl-run You could actually try this out pretty easily: > > ```ts > // next.config.js > // 0. Directly check nextLogger.prefixes: > const nextLogger = require('next/dist/build/output/log') > > if...
I migrated a few of my apps to using the standalone output now. What I ended up doing: In the custom document (`_document.tsx`) ```ts import 'next-logger' ``` This will allow...
The above trick doesn't work when you have a fully app-directory'd app. Simply doing a `import 'next-logger'` in your `app/layout.tsx` to "trick" @vercel/nft to copy next-logger fails spectacularly. ``` ./node_modules/cosmiconfig/dist/loaders.js...
I got this working in app dir as well now. in your root layout.tsx: `import 'next'logger'` :point_up: This will make sure it's part of the standalone output. Here's the crux,...
Example: https://github.com/navikt/syfosmmanuell/pull/183 Disregard any references to `@navikt/next-logger`, that's just my internal config and isomorphic logger utils.
I'm moving some pages based API-routes to route handlers, the routes are using JSDom which has a peer depedency on canvas. I'm seeing the same .node bindings error: ```plain Failed...
I created a quick repro in Codesanbox. https://codesandbox.io/p/sandbox/white-water-k6fjgx?file=%2Fapp%2FREADME.md Edit: Never mind :sweat: It works in the newest canary. Forgot to bump when I created a new Codesandbox.
Good question. I have never tried this. You should test it out and report back! I'm thinking maybe setting the ref. on the iframe itself would be a good start....
Checking "Apache" in the wizard creates a runnable application. Which makes sense to me now that I understand the signature of `io.ktor.client.HttpClient`. But, it could probably be made more obvious...
I just got stuck on this as well, especially since typing it with the swagger plugin like this:  works wonders with the swagger UI:  But then you get...