gatsby-plugin-preval

Gatsby plugin for pre-evaluating code at build-time

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
gatsby-plugin-preval
111.0.05 years ago5 years agoMinified + gzip package size for gatsby-plugin-preval in KB

Readme

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

Install

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.