react-swc-loader-template
react-swc-loader-template copied to clipboard
How to specify different TS configs depending on environment
Hey, thanks for this great template! I was wondering how I could specify which tsconfig file to use, though. I have different configs based on whether I'm building for development or production, but I don't see here how I could tell webpack which one to use. With the standard ts-loader, i can do this:
options: {
configFile: 'tsconfig.prod.json',
},
I can't seem to figure out how to do that with this setup.