webpack-config-plugins
webpack-config-plugins copied to clipboard
ts-config-webpack-plugin does not respect browserslist
I'm submitting a...
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Current behavior
TypeScript compilation is currently limited to the target
option by tsconfig.json
Expected behavior
I'd like to compile TypeScript with the target: "esnext"
option and let babel do the rest (or compile it completely with babel and only use the fork checker to do the type checking).
What is the motivation / use case for changing the behavior?
The JavaScript plugin is properly respecting the browserslist
settings while the TypeScript plugin is not.