This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import fs from 'fs'; | |
| import path from 'path'; | |
| import os from 'os'; | |
| // Write out the GlobalStyleComponent module to .cache. | |
| // Happens before webpack starts compiling page. | |
| // .cache is available when gatsby-browser.js and gatsby-ssr.js runs. | |
| // eslint-disable-next-line import/prefer-default-export | |
| export const onPreBootstrap = ({ store }, pluginOptions) => { |