text: const fetch = require('node-fetch');
  
  exports.sourceNodes = (
    { actions, createContentDigest },
    configOptions,
  ) => {
    const { createNode } = actions;
  
    return (
      // Fetch a response from the apiUrl
      fetch(configOptions.url)
      // Parse the response as JSON
        .then(response => response.text())
        // Process the JSON data into a node
        .then((data) => {
          createNode({
            id: '1',
            internal: {
              type: 'SparkIconSet',
              content: data,
              contentDigest: createContentDigest(data),
            },
          });
        })
    );
  };
  