Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

support custom version format #13

Closed
kerryChen95 opened this issue Jan 13, 2016 · 0 comments · Fixed by #14
Closed

support custom version format #13

kerryChen95 opened this issue Jan 13, 2016 · 0 comments · Fixed by #14

Comments

@kerryChen95
Copy link

new AppCacheWebpackPlugin({
  comments: [
    '[hash][YYYY-MM-DD HH:mm:ss]', // compilation hash, compilation time in moment.js format
    'some other comments'
  ]
})

Compilation hash info. is easy to lose, we have to record each release's compilation somewhere, so we need compilation time to known it's which version.
And when I use html-webpack-plugin to generate html file, I just modify the html file template, the compilation hash does not change, maybe it's html-webpack-plugin's duty to update compilation hash, but there are still some edge cases to need additional comments in appcache manifest file.

briandipalma pushed a commit to briandipalma/appcache-webpack-plugin that referenced this issue Mar 14, 2016
briandipalma pushed a commit to briandipalma/appcache-webpack-plugin that referenced this issue Mar 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant