How to measure the pages displayed on the frontend

Hello, here is the error I get when using the system-provided widget DistanceWidget:

ERROR in ./src/controlPanel.html 1:0
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See Concepts | webpack



Distance: 0

@ ./src/index.js 14:0-47 54:33-45

webpack 5.75.0 compiled with 1 error in 1009 ms

Please consider the following guidelines to setup your VTK.js project: