0.0.3 • Published 5 years ago

deli-version-webpack-plugin v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

deli-version-webpack-plugin

自动给得力e+应用增加版本文件

Install

$ npm install deli-version-webpack-plugin -D

Usage

const DeliVersionPlugin = require('deli-version-webpack-plugin');

module.exports = {
	plugins: [
		new DeliVersionPlugin({
			name: 'version.txt',
			content: '0.0.1'
		})
	]
};

API

DeliVersionPlugin(options)

options.name

Type: string

Relative file path for the asset.

options.content

Type: string

Asset content.

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago