version-retrieval-webpack-plugin

Output a dictionary of assets with their version tags

Usage no npm install needed!

<script type="module">
  import versionRetrievalWebpackPlugin from 'https://cdn.skypack.dev/version-retrieval-webpack-plugin';
</script>

README

Version Retrieval plugin for webpack

Example

var VersionRetrievalPlugin = require("version-retrieval-webpack-plugin");
module.exports = {
    plugins: [
      new VersionRetrievalPlugin({ outputFile: 'assets.json' })
    ]
}