提交 1379b75b 编写于 作者: W wangmengjun

Merge branch '1.0.6-wmj' into '1.0.6'

1.0.6 wmj

See merge request cml/new-open-chameleon-sets!178
......@@ -38,6 +38,8 @@ _.getTabbarIconPaths = function(tabbar, type) {
iconInfo.finalPath = item.iconPath;
iconPaths.push(iconInfo);
// 生成的app.json中的路径要适配windows
item.iconPath = cmlUtils.handleWinPath(item.iconPath);
}
if (item.selectedIconPath) {
let iconInfo = {};
......@@ -46,6 +48,8 @@ _.getTabbarIconPaths = function(tabbar, type) {
iconInfo.finalPath = item.selectedIconPath;
iconPaths.push(iconInfo);
// 生成的app.json中的路径要适配windows
item.selectedIconPath = cmlUtils.handleWinPath(item.selectedIconPath);
}
})
}
......@@ -58,6 +62,9 @@ _.getTabbarIconPaths = function(tabbar, type) {
iconInfo.finalPath = item.icon;
iconPaths.push(iconInfo);
// 生成的app.json中的路径要适配windows
item.icon = cmlUtils.handleWinPath(item.icon);
}
if (item.activeIcon) {
let iconInfo = {};
......@@ -66,6 +73,9 @@ _.getTabbarIconPaths = function(tabbar, type) {
iconInfo.finalPath = item.activeIcon;
iconPaths.push(iconInfo);
// 生成的app.json中的路径要适配windows
item.activeIcon = cmlUtils.handleWinPath(item.activeIcon);
}
})
}
......
......@@ -60,7 +60,8 @@ module.exports = function (options) {
context: path.resolve(root),
entry,
output: {
filename: getJsPath()
filename: getJsPath(),
chunkFilename: getJsPath()
},
resolve: {
alias: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册