摘要: 1. npm install --save-dev copy-webpack-plugin2. var CopyWebpackPlugin = require('copy-webpack-plugin'); 3. new CopyWebpackPlugin([ {from: './ip.txt', to:'ip.txt'} ]);======= from 定义要拷贝的源目录 ... 阅读全文
posted @ 2018-07-03 22:59 大耳朵小虎 阅读(301) 评论(0) 推荐(0) 编辑