Open fengwuxp opened 5 years ago
var hasBabel = false
try { hasBabel = !!require('babel-loader') } catch (e) { //consider adding similar judgments //support babel7 hasBabel = !!require("@babel/core"); }
try {
hasBabel = !!require('babel-loader')
} catch (e) {
//consider adding similar judgments
//support babel7
hasBabel = !!require("@babel/core");
}
var hasBabel = false
try {
hasBabel = !!require('babel-loader')
} catch (e) {
//consider adding similar judgments
//support babel7
hasBabel = !!require("@babel/core");
}