Skip to content

Sometimes gatsby build doesn't minify the commons-*.js file #2877

@resir014

Description

@resir014
  • Gatsby version: gatsby 1.9.106, gatsby-cli 1.1.20
  • Node version: 8.9.0
  • OS: Windows 10 (x64)

I've brought up this issue on the Reactiflux chat the other day, but I'm going to put it as an issue here since it's potentially an issue on both Gatsby and Netlify.

On some occasions,gatsby build doesn't generate a minified commons-*.js file:

image

This could sometimes result in the React Devtools saying that I'm not running a minified build of React whenever I deploy to Netlify with Continuous Deployment:

image

Running gatsby build and manually deploying everything to Netlify will cause React Devtools to behave, however the resulting commons-*.js file remains unminified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions