Function cypressWebpackConfigMdx

  • This is likely a highly specialized use case for adding mdx functionality and code coverage in the cypress.config.ts file. It assumes that you've already added ts-loader to the webpack config file proper.

    Parameters

    • config: any

      webpack config to be updated

    • coverage: boolean = true

      add coverage via babel-loader + istanbul

    Returns any