Html Webpack Dotnet Versionize Plugin
A plugin for webpack-html-plugin to add .net framework's ToVersionizeSC() method to the scripts and styles
Useful when you create .cshtml file instead of .html file with html-webpack-plugin.
- Install via
npm i -D html-webpack-dotnet-versionize-pluginor
yarn add -D html-webpack-dotnet-versionize-plugin
- Add to your webpack config AFTER HtmlWebpackPlugin
const HtmlWebpackDotnetVersionizePlugin = ;...plugins:filename: pathtemplate: pathminify: false
I'm planning to write test in future. Currently you can test the plugin manually.
Install npm packages then run
npm run test:build. You can see result in test/index.html file.