Closed fabiosantoscode closed 3 years ago
Does anyone want to work on this?
I think caching may make swc-loader slower.
We can benchmark it before we merge. I think it will be faster, but let's see!
You can already do this with webpack
{
test: /\.(js|jsx|ts|tsx)$/,
exclude: /node_modules/,
use: [
'cache-loader',
{
loader: 'swc-loader',
options: { ... }
}
]
},
as @kdy1 says - not sure it's going to be any faster though.
Probably not needed then. Closing!
Let's cache these files! A fast compiler is not useful if there's no caching.