0.1.0 • Published 1 year ago

name_md5-webpack-plugin v0.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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

  • sourcestring - 需要压缩的文件夹
  • destinationstring - 输出在该目录下的压缩文件
  • openUrlstring - 打包完成后默认浏览器打开地址
0.1.0

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago