dojo / webpack-contrib

Plugins and loaders for webpack used with Dojo
Other
4 stars 19 forks source link

Only add scripts to head of outputted html that exist in the original. #287

Closed tomdye closed 4 years ago

tomdye commented 4 years ago

Enhancement

When using services such as google-analytics - blocking scripts are added to the document head when their init scripts are ran. When using BTR, these scripts end up in the resulting static HTML.

We should exclude scripts from the outputted html which are not present in the original html.