Closed raykin closed 10 years ago
Hi @raykin - sorry for the delayed response. I haven't used this (or Angular) in a long time, so I'm deprecating the project in favor of ngannotate-rails, which makes use of ng-annotate which possibly supercedes ngmin.
After searching the source, sprockets considered js and css as bundled assets and always run bundle prorcessor when run rake assets:precompile.
the last line will create a bundled asset for javascript asset. So only the user override the compile and write something like
Then the bundle processor will be ignore.
Actually that's how development env did. In development, we query http://localhost:3000/assets/ctrl/doc.js?body=1 to get each js file if the rails config config.assets.debug = true. then sprockets will render this js asset as ProcessedAsset, no any processors run.
Since we only care about the rake assets:precompile, I think it's safe to remove the postprocessor