browserify / wzrd.in

browserify as a service.
http://wzrd.in
MIT License
639 stars 96 forks source link

multibundles not respecting debug: true #36

Closed jfhbrook closed 11 years ago

jfhbrook commented 11 years ago

This needs to be confirmed.

jfhbrook commented 11 years ago

Okay, I looked into this, and as far as I can tell this is totally working.

The trick is that you have to specify options in the "options" namespace, meaning this works:

{
  "options": {
    "debug": true
  },
  "dependencies": {
    "foo": "*"
  }
}

but this doesn't work:

{
  "debug": true,
  "dependencies": {
    "foo": "*"
  }
}

For the record, I'm open to a PR to change this behavior, if anybody feels strongly about it.