1.0.0 • Published 7 years ago

gatsby-plugin-debug-build v1.0.0

Weekly downloads
108
License
MIT
Repository
github
Last release
7 years ago

gatsby-plugin-debug-build

Gatsby plugin to force the dev version of builds

This is a Gatsby plugin that simply removes any UglifyJsPlugin instances from the webpack chain and sets the NODE_ENV to development. This makes webpack include the full development bundle of react in your built project, which is useful for debugging runtime errors in the compiled output.

NOT FOR USE IN PRODUCTION

This is a debugging utility. Don't do stupid things with it.

Usage

Add it to your project

yarn add gatsby-plugin-debug-build

Then add it to your gatsby-config.js:

{
  plugins: [
    'gatsby-plugin-debug-build',
  ]
}