mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
bug fix
This commit is contained in:
1 parent
2b6a510c1e
commit
f2bcc3bc93
23 files changed
+241
-119
No files matched your search
+2
-2
@@ -4,7 +4,7 @@ const webpack = require('webpack');
|
||||
const FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin');
|
||||
const { root } = require('./utils');
|
||||
|
||||
const build = async (type, tag = '') => {
|
||||
const build = async (type) => {
|
||||
function hackNodeModuleFormidable() {
|
||||
const tasks = ['incoming_form', 'file', 'json_parser', 'querystring_parser'];
|
||||
for (const task of tasks) {
|
||||
@@ -25,7 +25,7 @@ const build = async (type, tag = '') => {
|
||||
development: root('hydro/development.js'),
|
||||
},
|
||||
output: {
|
||||
filename: `[name]${tag}.js`,
|
||||
filename: '[name].js',
|
||||
path: root('.build'),
|
||||
},
|
||||
target: 'node',
|
||||
|
||||
Reference in new issue
Block a user