infinum / webpack-asset-pipeline

🚀 A missing link for the asset pipeline alternative with Webpack.
https://infinum.co/the-capsized-eight/squeezing-webpack-into-backend-frameworks
MIT License
30 stars 5 forks source link

Feature/custom asset paths #6

Closed DarkoKukovec closed 8 years ago

DarkoKukovec commented 8 years ago

This PR adds an optional mapAssetPath method which allows the user to manipulate the final asset key in manifest. The function receives two arguments, requirePath and outputPath. The function should return the key that should be used - by default, this will be the requirePath value.

andreicek commented 8 years ago

Merged by hand due to conflicts.