I am trying to use typescript with nuxt but am getting the following issue when the site reloads in dev
Issues checking service aborted - probably out of memory. Check the memoryLimit option in the ForkTsCheckerWebpackPlugin configuration. If increasing the memory doesn't solve the issue, it's most probably a bug in the TypeScript or EsLint.
Is there anyway to increase this in nuxt config?
I was able to find some docs that indicate a possible solution - you can use the
typeCheckoption in your nuxt config.And here's the source code where the merge takes place,
so providing the
typeCheckoption as an object with properties known to theForkTsCheckerWebpackPluginshould do the job: