My vue application uses vue.config.js file which is similar to webpacks config file.
in development i have:
it works fine when i build locally and run in dev locally.
But when cloudflare pages pulls it from github, the followiing error is shown
ERROR Error: ENOENT: no such file or directory, open ‘…/certs/dev.sixxxnd.com+3-key.pem’
Not sure why when npm run buiild command is run it checks the devServer object and looks for the cert file which is not going to be there, nor do i want to upload it to my public folder as its only for local https.
Any ideas? Thanks.