Dustin J Silk
Dustin J Silk
I get this as well quite regularly while in development. Saving the file again once or twice removes the error. I havent tested this on production yet but I assume...
This started happening to me after I tried to run a few `pnpm link` commands.
That was very useful @ModestinoAndre, thanks. I ended up with a similar solution quite close to yours if anyone needs it some day, which works with Nestjs InputType / ObjectType...
Doing this leaves webpack to copy across the files to dist, though i can't seem to get it working with typescript ```JavaScript const workerUrl = new URL('./my-worker.ts', import.meta.url); const relativePath...
Oh, I didnt realise that would be the case. It seemed okay in Node with both `__dirname` and `import.meta`. I tried with both ES2020 and ESNext. The reason it doesn't...
@andywer Following on from this thread and example repository, it seems to work well for webworker, but it doesn't seem to work for node worker threads in TS. https://github.com/webpack/webpack/discussions/13655
Right I've managed to get it to compile with a little hack. Webpack 5 seems to only compile DOM URLs, not Node URLs. So I've added "DOM" to my tsconfig...
@fabian-hiller could we just make the loader optional or is a default zero value always required for it to work?
I'll dig into this issue next week!
im trying to figure out how to have a field set to []byte, or even a string, rather than an interface{}. do you have an example that you managed to...