0.1.0 • Published 1 year ago
name_md5-webpack-plugin v0.1.0
Install
npm install name_md5-webpack-plugin --save-dev
# or
yarn add name_md5-webpack-plugin --dev
Usage
// webpack.config.js:
const Name_md5Plugin = require('name_md5-webpack-plugin');
export default {
plugins: [
new Name_md5Plugin({
source: 'dist',
destination: 'dist/tofile.zip',
openUrl: 'https://baidu.com'
}),
],
}
# or
// vue.config.js:
module.exports = {
configureWebpack: {
plugins: [
new Name_md5Plugin({
source: "dist",
destination: "dist/tofile.zip",
openUrl: 'https://baidu.com'
}),
],
},
}
Options