const Prismic = require('prismic.io');

module.exports = {
  getAll(apiEndpoint) {
    return Prismic.api(apiEndpoint).then(api => (
      api.query(null, { lang: '*' })
    ));
  },
};

const Prismic = require('prismic.io');

module.exports = {
  getAll(apiEndpoint) {
    return Prismic.api(apiEndpoint).then(api => (
      api.query(null, {
        lang: '*',
        pageSize: 100,
      })
    ));
  },
};

Increase pageSize to 100 (which is the current prismic.io maximum)
Increase pageSize to 100 (which is the current prismic.io maximum)
