I have package.yaml configured and I deleted .stack-work, but only Main.html and Paths_${package name}_hs.html are generated by bothstack build and rm -rf ~/.cabal cabal v2-build. stack build --profile also did not work.
ghc-options:
- -fplugin=DumpCore
- -fplugin-opt DumpCore:core-html