gatsby-source-wordpress

     {

      resolve: "gatsby-source-wordpress",

      options: {

        url: process.env.WORDPRESS_URL,

        type: {

          MediaItem: {

            localFile: {

              excludeByMimeTypes: [`video/mp4`, 'image/png', 'image/jpeg'], // add your images format

            },

          },

        },

debug: {

          graphql: {

            showQueryVarsOnError: true,

            showQueryOnError: true,

          },

        },

        develop: {

          hardCacheMediaFiles: true,

          hardCacheData: true,

        },

        schema: {

          timeout: 10000000,

        },


        production: {

          allow404Images: true

        }

      },

    },

Không có nhận xét nào:

Is it okay to use both fetchpriority="high" and loading="eager" in img tag?

 https://stackoverflow.com/questions/77744344/is-it-okay-to-use-both-fetchpriority-high-and-loading-eager-in-img-tag Yes Fetchpriority and l...