bazel-javascript icon indicating copy to clipboard operation
bazel-javascript copied to clipboard

Custom webpack config / tsconfig-paths-webpack-plugin

Open borgstrom opened this issue 6 years ago • 1 comments

Hi @fwouts & @dan-compton,

I would like to use to https://github.com/dividab/tsconfig-paths-webpack-plugin so that I can leverage paths from tsconfig.json to make my project imports nicer.

Do you have any thoughts on webpack config customization? Is this something you'd accept a PR for into the main webpack config in this project?

borgstrom avatar Jan 11 '19 05:01 borgstrom

I don't see any issue with this. I've been a bit annoyed by the need to duplicate aliases between the webpack config and tsconfig.json, if my understanding is correct this seems to solve that? 😄

fwouts avatar Jan 12 '19 00:01 fwouts