function compileSync(vfileCompatible, compileOptions) {
  const {file, options} = resolveFileAndOptions(vfileCompatible, compileOptions)
  return createProcessor(options).processSync(file)
}
Synchronously compile MDX to JS.

When possible please use the async `compile`.

@param {Readonly<Compatible>} vfileCompatible
  MDX document to parse.
@param {Readonly<CompileOptions> | null | undefined} [compileOptions]
  Compile configuration (optional).
@return {VFile}
  Compiled file.