如何将第一个变量entries转换为newEntries变量?
let entries = {
"app": "/main/application/src/app/src/pages/app/src/index.js",
"app1": "/main/application/src/app/src/pages/app/src/app1.js",
"app2": "/main/application/src/app/src/pages/app/src/app2.js"
}
let newEntries = {
//from entries should be that:
app: ["@babel/polyfill", "/main/application/src/app/src/pages/app/src/index.js"],
app1: ["@babel/polyfill", "/main/application/src/app/src/pages/app/src/app1.js"],
app2: ["@babel/polyfill", "/main/application/src/app/src/pages/app/src/app2.js"],
}
慕尼黑的夜晚无繁华
料青山看我应如是
相关分类