webpack 配置热更新后,文件配置导出到本地
- 安装
npm i webpack-dev-server-output --save-dev
- 引入
const WebpackDevServerOutput = require("webpack-dev-server-output");
- 配置
new WebpackDevServerOutput({ path: "./dist/assets", isDel: true })
over
本文共 281 字,大约阅读时间需要 1 分钟。
webpack 配置热更新后,文件配置导出到本地
npm i webpack-dev-server-output --save-dev
const WebpackDevServerOutput = require("webpack-dev-server-output");
new WebpackDevServerOutput({ path: "./dist/assets", isDel: true })
over
转载于:https://www.cnblogs.com/ysk123/p/10003986.html