webiny-js icon indicating copy to clipboard operation
webiny-js copied to clipboard

Add missing dependency to the website app

Open Pavel910 opened this issue 3 years ago • 0 comments

source-map-explorer in website app is missing as a dependency.

Also, it might be a good idea to add another script to the website app, called build-with-sourcemap, which uses cross-env to set the GENERATE_SOURCEMAP ENV variable, so it works on all OS-es.

Something like this:

"build-with-sourcemap": "cross-env GENERATE_SOURCEMAP=true yarn webiny run build"

Pavel910 avatar Jun 10 '22 10:06 Pavel910