swc-project / swc-loader

Moved to https://github.com/swc-project/pkgs
MIT License
394 stars 29 forks source link

inputSourcemap in loader options doesn't work #68

Open chenlupeng007 opened 2 years ago

chenlupeng007 commented 2 years ago

'swc-loader' is fast and great. However, if we pass inputSourceMap: true from loader options, in doesn't work as babel-loader do.

in the source code: the inputSourceMap set as the one from last loader, while babel-loader from the source code will use it from loader option if no inputSourceMap pass from last loader.