1.webpack.config.js中新增
const webpack = require('webpack') //新增
2.module.exports中新增
plugins:[ new webpack.BannerPlugin('最终版权归你爹我所有') ]
3.运行
npm run build