RSSAmplifier

Sam Dawson's Blog · Jan 29, 2021

Sharing code between gatsby-node and components

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

To share code between gatsby-node files and other components the shared file must use CommonJS syntax. For example: The exported stuff can then be used in gatsby-node.js with a require import and…

Read on samdawson.devgatsby-node-sharing-code

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.