text: // Implement the Gatsby API “onCreatePage”. This is
  // called after every page is created.
  exports.onCreatePage = async ({ page, actions }) => {
      const { createPage } = actions
      // Only update the `/app` page.
      if (page.path.match(/^\/app/)) {
        // page.matchPath is a special key that's used for matching pages
        // with corresponding routes only on the client.
        page.matchPath = "/app/*"
        // Update the page.
        createPage(page)
      }
    }
  
  
    exports.onCreateWebpackConfig = ({ getConfig, stage, loaders, actions }) => {
      if (stage === "build-html") {
        /*
         * During the build step, `auth0-js` will break because it relies on
         * browser-specific APIs. Fortunately, we don’t need it during the build.
         * Using Webpack’s null loader, we’re able to effectively ignore `auth0-js`
         * during the build. (See `src/utils/auth.js` to see how we prevent this
         * from breaking the app.)
         */
        actions.setWebpackConfig({
          module: {
            rules: [
              {
                test: /@auth0\/auth0-spa-js/,
                use: loaders.null(),
              },
            ],
          },
        })
      }
  
      // LAS SIGUIENTES LINEAS SON PARA CORREGIR UNA ALERTA DE GATSBY SOLICITANDO @hot-loader/react-dom
  
      const config = getConfig()
      if (stage.startsWith('develop') && config.resolve) {
        config.resolve.alias = {
          ...config.resolve.alias,
          'react-dom': '@hot-loader/react-dom'
        }
      }
  
    };