Hey I have a JS expression that I don't know name of does somone know how is this called in theory?
return defaultScreenshotOptions?.errorThreshold || 0;
Full error message
Error: Webpack Compilation Error
./node_modules/cypress-visual-regression/src/command.js 14:34
Module parse failed: Unexpected token (14:34)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }
|
> return defaultScreenshotOptions?.errorThreshold || 0;
| }
|
My other question is about the webpack loaders that are needed to parse this module.