1.0.5 • Published 3 days ago

yyl-server-webpack-plugin v1.0.5

Weekly downloads
6
License
MIT
Repository
github
Last release
3 days ago

yyl-server-webpack-plugin

安装

yarn add yyl-server-webpack-plugin

使用

// webpack.config.js
import YylServerWebpackPlugin from 'yyl-server-webpack-plugin'

module.exports = {
  plugins: [
    new YylServerWebpackPlugin({
      context: __dirname,
      static: './dist',
      port: 5000,
      enable: true,
      homePage: 'http://127.0.0.1:5000/html/index.html',
      proxy: {
        enable: true,
        hosts: ['//www.yy.com']
      }
    })
  ]
}

types

这里

1.0.5

3 days ago

1.0.4

29 days ago

1.0.3

29 days ago

1.0.2

29 days ago

1.0.1

29 days ago

1.0.0

29 days ago