Skip to content

combining with montiapm breaks HCP when using --production #40

@namenotrequired

Description

@namenotrequired

This bug happens only when running meteor --production but I'm not sure it happens on actual build/deploy. I stumbled upon it while looking for another bug. But I figured you'd want to know

Steps to reproduce:

$ meteor create reproduce --blaze
$ cd reproduce
$ meteor remove standard-minifier-js
$ meteor add zodern:standard-minifier-js
$ meteor add montiapm:agent
$ meteor --production

Or replace montiapm:agent with montiapm:profiler for the same result

  • Open localhost:3000 in a browser -> see the basic click app
  • Edit client/main.js e.g. to add a console.log() statement somewhere (but make sure it's a new hash)
  • wait for the browser to refresh

Result: the browser refreshes to a blank page, with an error in the console that it failed to fetch the javascript

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions