static async _getSwcAst(code, parserOptions = {}) {
    if (!swcParser) {
      swcParser = (await import('@swc/core')).default;
    }

    const ast = swcParser.parseSync(code, {
      syntax: 'typescript',
      target: 'es2022',
      ...parserOptions,
    });
    return ast;
  }
Compiles an array of file paths using swc.
@param {string} code
@param {ParserOptions} parserOptions
@returns {Promise<SwcAstModule>}