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