It appears that CSS source maps are empty when building an app in dist mode. This can be easily seen by creating a new app via cli-create-app, and running dojo build. The resulting main.xxx.bndle.css file will look something like this,
After some cursory investigation, it looks like the problem might be BannerPlugin. If you simply comment out BannerPlugin from dist.config.ts and rebuild, the source maps look fine.
Bug
It appears that CSS source maps are empty when building an app in dist mode. This can be easily seen by creating a new app via
cli-create-app
, and runningdojo build
. The resultingmain.xxx.bndle.css
file will look something like this,You can see that it is missing the juicy parts. CSS source maps seem OK when built in development mode (
dojo build -m dev
).Package Version: 5.0.0