@prototyp/gatsby-plugin-gumball-debug
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

gatsby-config.js

const activeEnv =
  process.env.GATSBY_ACTIVE_ENV || process.env.NODE_ENV || "development"

const isDev = activeEnv === "development"

module.exports = {
  plugins: [
    ...(isDev
      ? [
          {
            resolve: "@prototyp/gatsby-plugin-gumball-debug",
            options: {
              debug: true,
            },
          },
        ]
      : [])
  ],
}

Dependents (0)

Package Sidebar

Install

npm i @prototyp/gatsby-plugin-gumball-debug

Weekly Downloads

7

Version

1.0.7

License

ISC

Unpacked Size

36.6 kB

Total Files

23

Last publish

Collaborators

  • vvlahek
  • prototypdigital