gatsby-plugin-debug-build

1.0.0 • Public • Published

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',
  ]
}

Readme

Keywords

Package Sidebar

Install

npm i gatsby-plugin-debug-build

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • alampros