jam icon indicating copy to clipboard operation
jam copied to clipboard

More obvious package.json overrides

Open tbranyen opened this issue 13 years ago • 1 comments

It was not immediately obvious to me that it was possible to override the main property inside of the package.json file. Quickly experimenting with:

{
  ...,

  "jam": {
      ...,

      "main": "client-side.js"
  }
}

worked entirely as expected. This should be documented more than passively since it's incredibly powerful to separate jam specifics.

tbranyen avatar Sep 15 '12 03:09 tbranyen

Has this section improved?

http://jamjs.org/docs#Package_json

Would that be enough to close this issue?

ryanramage avatar Nov 26 '12 20:11 ryanramage