code: function process(src, filename) {
    // strip out <style> tags to prevent failure when unable to parse PostCSS etc.
    const re = /<style[^>]*>([\S\s]*?)<\/style>/g;
    const normalised = src.replace(re, '');
  
    const result = svelte.compile(normalised, {
      filename,
      css: false,
      format: 'cjs',
    });
  
    return {
      code: result.js.code,
      map: result.js.map,
    };
  }
docs: eslint-disable-line import/no-extraneous-dependencies