See what's launched

The next gen Gatsby is here Performance, developer velocity, and scaling to meet Enterprise needs - See what’s launched

Sign Up for Free
Community Plugin
View plugin on GitHub


A Gatsby plugin for pre-evaluating code at build-time using babel-plugin-preval.


npm install --save gatsby-plugin-preval babel-plugin-preval

How to use

Edit gatsby-config.js:

module.exports = {
  plugins: ['gatsby-plugin-preval'],

For examples of usage, please see the readme of babel-plugin-preval.

© 2022 Gatsby, Inc.