Package Exports
- webpack-dev-server-output
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (webpack-dev-server-output) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
####将webpack-dev-server产出在内存的文件夹输出到指定目录
####Output webpack-dev-server output to the specified folder in the folder 1、npm install webpack-dev-server-output --save-dev
2、
const WebpackDevServerOutput = require('webpack-dev-server-output');
new WebpackDevServerOutput({
path: 'output-path',
isDel: true | false
});path: Specify file output directory(full path) (指定文件产出目录)
[default '/output']
Output folder for the current project root directory(项目根目录下的output文件夹)isDel: Update related old files (更新改动相关的旧文件,删除旧文件)
[default: false]