Repository: ProjectEvergreen/greenwood (js)

Issue:
sourcemap path from Rollup is showing in generated HTML pages
## Type of Change
- [ ] New Feature Request
- [ ] Documentation / Website
- [ ] Improvement / Suggestion
- [x] Bug
- [ ] Other (please clarify below)

## Summary
After merging #642 I didn't realize that the source map URL generated by Rollup was still in the output HTML.  🤦 
![Screen Shot 2021-07-09 at 12 25 22 PM](https://user-images.githubusercontent.com/895923/125110522-a8756b00-e0b2-11eb-99e3-cdc5236b6bab.png)

## Details
This is due to the fact we are using Rollup to treat our HTML files as entry points, hence why this is added, much like we have to manually [clean up the _.map_ files](https://github.com/ProjectEvergreen/greenwood/pull/642/files#diff-57634df7e2b1ba3ea0031d8adc1e73230ca3c93bbecfdea7b44d00c7e100ec8bR490) in the original PR.

Pull request description:
cleanup rollup added sourcemap paths in generated HTML bundles
<!--
## Submitting a Pull Request
We love contributions and appreciate any help you can offer!
-->

## Related Issue
resolves #659 

## Summary of Changes
1. Clean up sourcemap paths added to generated HTML pages (bundles)

Patch:
diff --git a/packages/cli/src/config/rollup.config.js b/packages/cli/src/config/rollup.config.js
index e36a55df..2a736b62 100644
--- a/packages/cli/src/config/rollup.config.js
+++ b/packages/cli/src/config/rollup.config.js
@@ -487,7 +487,9 @@ function greenwoodHtmlPlugin(compilation) {
           
           // mark each HTML's sourcemap file (generated by Rollup) to be cleaned up
           // would be nice if we could just prevent Rollup from generating sourcemaps for just our input files in the first place (GFI)
+          // https://github.com/ProjectEvergreen/greenwood/issues/659
           scratchFiles[`${htmlPath.replace(outputDir, '')}.map`] = true;
+          html = html.replace('//# sourceMappingURL=index.html.map', '');
 
           await fs.promises.writeFile(htmlPath, html);
         } else {


Test patch:
diff --git a/test/smoke-test.js b/test/smoke-test.js
index 4bf5f624..65fb3d0e 100644
--- a/test/smoke-test.js
+++ b/test/smoke-test.js
@@ -156,6 +156,11 @@ function defaultIndex(label) {
   
           expect(pageOutlet.length).to.be.equal(0);
         });
+
+        // 
+        it('should not have any sourcemap inlining for Rollup HTML entry points', function() {
+          expect(html).not.to.contain('//# sourceMappingURL=index.html.map');
+        });
       });
     });
   });