rotundasoftware / parcelify

Add css to your npm modules consumed with browserify.
MIT License
251 stars 20 forks source link

API for source maps #19

Closed cowwoc closed 9 years ago

cowwoc commented 9 years ago

The command-line lists --maps, -m Enable JavaScript source maps in js bundles (for dev mode). but the API documentation does not provide an equivalent option.

dgbeck commented 9 years ago

Hi @cowwoc , the deal is that this option can be set through the API using. Providing a separate option via the API would be redundant.

browserifyBundleOptions : {
    debug : maps
}

I just added a reference to this use case in the docs for browserifyBundleOptions. Thx!