1.0.0 • Published 2 years ago
webpack-manifest-version-sync-plugin v1.0.0
Webpack plugin for version sync between package.json and manifest.json.
This plugin will sync your package.json version into your manifest.json. So you don't need to manually edit manifest.json.
Use npm version to bump your package version, and this plugin will ensure that it's in sync with manifest.json.
Install
yarn add --dev webpack-manifest-version-sync-pluginor
npm install webpack-manifest-version-sync-plugin --save-devUsage
const ManifestVersionSyncPlugin = require('webpack-manifest-version-sync-plugin');
{
// Add it to your webpack.config.js
plugins: [
new ManifestVersionSyncPlugin({
packagePath: 'package.json',
manifestPath: 'manifest.json',
}),
];
}Options
Author
👤 Eugene Dzhumak
- Github: @ElForastero
Show your support
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator