feat: 升级midway,支持esm

This commit is contained in:
xiaojunnuo
2024-07-15 00:30:33 +08:00
parent 970c7fd8a0
commit 485e603b51
246 changed files with 3821 additions and 1532 deletions
@@ -1,8 +1,7 @@
import path from 'path';
import _ from 'lodash';
const yaml = require('js-yaml');
const fs = require('fs');
import * as _ from 'lodash-es';
import yaml from 'js-yaml';
import fs from 'fs';
function parseEnv(defaultConfig: any) {
const config = {};