text: exports.createPages = async ({ actions }) => {
    const { createPage } = actions
    createPage({
      path: "/using-dsg",
      component: require.resolve("./src/templates/using-dsg.js"),
      context: {},
      defer: true,
    })
  }
  
  exports.onCreateWebpackConfig = ({ stage, loaders, actions }) => {
    if (stage === "build-html") {
      actions.setWebpackConfig({
        module: {
          rules: [
            {
              test: /is-window/,
              use: loaders.null(),
            },
          ],
        },
      })
    }
  }