module.exports = {
  port: 8082,
  files: [
    'coverage/**/*.html',
  ],
  server: {
    baseDir: 'coverage',
  },
  snippetOptions: {
    rule: {
      match: /(<!DOCTYPE html>|^)/i,
      fn: function (snippet, match) {
          return match + '\n' + snippet;
      },
    },
  },
};
module.exports = {
  port: 8082,
  files: [
    'coverage/**/*.html',
  ],
  snippetOptions: {
    rule: {
      match: /(<!DOCTYPE html>|^)/i,
      fn: function (snippet, match) {
          return match + '\n' + snippet;
      },
    },
  },
};
--- 
+++ 
@@ -3,6 +3,9 @@
   files: [
     'coverage/**/*.html',
   ],
+  server: {
+    baseDir: 'coverage',
+  },
   snippetOptions: {
     rule: {
       match: /(<!DOCTYPE html>|^)/i,
Set coverage/ as baseDir for lite-server
