gatsby-plugin-browser-dependencies
v1.0.1
Published
Excludes browser-only dependencies from your SSR builds in Gatsby.
Downloads
8
Maintainers
Readme
gatsby-plugin-browser-dependencies
Excludes browser-only dependencies from your SSR builds in Gatsby.
Installation
yarn add gatsby-plugin-browser-dependencies
or
npm install --save gatsby-plugin-browser-dependencies
Usage
// gatsby-config.js
module.exports = {
plugins: [
{
resolve: `gatsby-plugin-browser-dependencies`,
options: {
dependencies: [
`auth-js`,
`browser-only-module`,
]
},
},
],
}