测试:系统设置

This commit is contained in:
undefined committed 2020-05-19 19:13:15 +08:00
1 parent 747cb1b9b5
commit 0304cd808f
12 files changed
+147 -88

No files matched your search

+2 -2
View File
@@ -4,7 +4,7 @@ const webpack = require('webpack');
const FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin');
const { root } = require('./utils');
const build = async (type) => {
const build = async (type, tag = '') => {
function hackNodeModuleFormidable() {
const tasks = ['incoming_form', 'file', 'json_parser', 'querystring_parser'];
for (const task of tasks) {
@@ -25,7 +25,7 @@ const build = async (type) => {
development: root('hydro/development.js'),
},
output: {
filename: '[name].js',
filename: `[name]${tag}.js`,
path: root('.build'),
},
target: 'node',