You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an extra tsconfig.json for my webpack configuration that is different from the tsconfig.json that should be used by tsconfig-paths-webpack-plugin.
The way to pass a different config to webpack is by setting TS_NODE_PROJECT - unfortunately that leads to tsconfig-paths-webpack-plugin ignoring the configFile option in favor of the one in the environment variable :/
I guess that the problem itself is somewhere in https://github.com/dividab/tsconfig-paths , but I think it is more a bug with tsconfig-paths-webpack-plugin so I was not really sure where to post this issue, but as you are the maintainer of both projects, I guess this is fine ;)
The text was updated successfully, but these errors were encountered:
I also encountered the same problem.
Although putting delete process.env.TS_NODE_PROJECT at the top of webpack.config.ts worked as workaround for me, I think configFile should not be ignored silently :)
Hi :)
I have an extra
tsconfig.json
for my webpack configuration that is different from thetsconfig.json
that should be used by tsconfig-paths-webpack-plugin.The way to pass a different config to webpack is by setting
TS_NODE_PROJECT
- unfortunately that leads to tsconfig-paths-webpack-plugin ignoring theconfigFile
option in favor of the one in the environment variable :/I guess that the problem itself is somewhere in https://github.com/dividab/tsconfig-paths , but I think it is more a bug with tsconfig-paths-webpack-plugin so I was not really sure where to post this issue, but as you are the maintainer of both projects, I guess this is fine ;)
The text was updated successfully, but these errors were encountered: