webpack-config-plugins icon indicating copy to clipboard operation
webpack-config-plugins copied to clipboard

ts-config-webpack-plugin does not respect browserslist

Open topaxi opened this issue 3 years ago • 0 comments

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.

topaxi avatar Oct 19 '20 14:10 topaxi