-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
area: @angular-devkit/build-angularfeatureIssue that requests a new featureIssue that requests a new feature
Milestone
Description
I'd like to know if it'd be possible to add asset revisioning feature with angular-cli@webpack. As far as I see chunk hashes are only added to .js
files during --prod
build and are used in the generated index.html
I can think of two possible approaches:
- The
rewrite
approach, e.g. https://github.com/smysnk/gulp-rev-all which parses the asset references (considering dependencies) than does re-writing in raw asset files. This would not require using custom helpers in templates/styles. - The
manifest
approach, e.g. https://github.com/nickjj/manifest-revision-webpack-plugin which will populate a manifest file with raw => revisioned mapping. Using helpers in templates/styles could be used for determining the right asset to use.
angular-cli: 1.0.0-beta.11-webpack.2
node: 6.2.2
os: darwin x64
hunhavoc, WonderCsabo, coryrylan, mbriggs, seeruk and 23 moreosnoser1, atluri64, msklvsk, danigar and th0r
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angularfeatureIssue that requests a new featureIssue that requests a new feature