csf-dev / CSF.Screenplay

Implementation of the Screenplay pattern (aka Journey) in .NET
https://csf-dev.github.io/CSF.Screenplay/
MIT License
13 stars 1 forks source link

To better compress CSS & JavaScript in generated reports, webpack should be used in the build process #178

Closed craigfowler closed 1 month ago

craigfowler commented 5 years ago

The current HTML reports are built using ZPT-Sharp. In doing so it is possible to see the changes that CSS/JavaScript make to the page in real-time.

One downside is that there is no transpilation or module loading involved in the process. The inclusion of the assets is performed manually only.

I would like to investigate using WebPack as a mechanism to use modern techniques such as JavaScript module loading and also minification, so that generated report pages have a lower 'weight' (in JavaScript) and so that it is easier to develop with modern tools and patterns.

craigfowler commented 1 month ago

Perhaps not even Webpack, there are other build systems available, such as Vite. Evaluate and choose when I come to do it.

craigfowler commented 1 month ago

Done