1.0.0 • Published 6 years ago

gatsby-plugin-preval v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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.