[ADF-1968] fix packaging issues i18n and assets (#2665)

* fix packaging issues i18n and assets

* remove other not used fodler
This commit is contained in:
Eugenio Romano
2017-11-17 15:08:26 +00:00
committed by GitHub
parent 1021cba9fc
commit a8e209c5b5
14 changed files with 99 additions and 191 deletions

View File

@@ -109,7 +109,9 @@ module.exports = {
return resourcePath.replace('assets/', 'bundles/assets/') + url;
},
publicPath: (url, resourcePath)=> {
return resourcePath + url;
var component = resourcePath.substring(0, resourcePath.indexOf('/'));
var path = resourcePath.replace(component, '');
return path + url;
}
}
}
@@ -145,7 +147,7 @@ module.exports = {
... alfrescoLibs.map(lib => {
return {
from: `${lib}/i18n/`,
to: `${lib}/bundles/assets/${lib}/i18n/`
to: `${lib}/bundles/assets/adf-${lib}/i18n/`
}
})
]),