UNPKG

gatsby-plugin-utils

Version:
12 lines (11 loc) 288 B
"use strict"; exports.__esModule = true; exports.getGatsbyVersion = getGatsbyVersion; let GATSBY_VERSION; function getGatsbyVersion() { if (!GATSBY_VERSION) { const gatsbyJSON = require(`gatsby/package.json`); GATSBY_VERSION = gatsbyJSON.version; } return GATSBY_VERSION; }