Oct 29, 2020
I wouldn't personally recommend doing that because then you would need to run the Webpack using `ts-node`. If you want the type IntelliSense, you can do that without converting the file to `.ts`. But I think this answer would shed some light on this topic - https://stackoverflow.com/questions/40075269/is-it-possible-to-write-webpack-config-in-typescript