[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
+6 -45
View File
@@ -5,6 +5,7 @@
},
"apps": [
{
"name" : "dist",
"root": "src",
"outDir": "dist",
"assets": [
@@ -25,42 +26,22 @@
{
"glob": "**/*",
"input": "../node_modules/@alfresco/adf-core/bundles/assets",
"output": "./core/assets/"
"output": "./assets/"
},
{
"glob": "**/*",
"input": "../node_modules/@alfresco/adf-insights/bundles/assets",
"output": "./insights/assets/"
"output": "./assets/"
},
{
"glob": "**/*",
"input": "../node_modules/@alfresco/adf-process-services/bundles/assets",
"output": "./process-services/assets/"
"output": "./assets/"
},
{
"glob": "**/*",
"input": "../node_modules/@alfresco/adf-content-services/bundles/assets",
"output": "./content-services/assets/"
},
{
"glob": "**/*",
"input": "../node_modules/@alfresco/adf-core/i18n",
"output": "./assets/@alfresco/core/i18n"
},
{
"glob": "**/*",
"input": "../node_modules/@alfresco/adf-insights/i18n",
"output": "./assets/@alfresco/insights/i18n"
},
{
"glob": "**/*",
"input": "../node_modules/@alfresco/adf-process-services/i18n",
"output": "./assets/@alfresco/process-services/i18n"
},
{
"glob": "**/*",
"input": "../node_modules/@alfresco/adf-content-services/i18n",
"output": "./assets/@alfresco/content-services/i18n"
"output": "./assets/"
},
{ "glob": "pdf.worker.js", "input": "../node_modules/pdfjs-dist/build", "output": "./" }
],
@@ -92,8 +73,8 @@
"prod": "environments/environment.prod.ts"
}
},
{
"name" :"dev",
"root": "src",
"outDir": "dist",
"assets": [
@@ -125,26 +106,6 @@
"input": "../../lib/insights/bundles/assets",
"output": "./assets/"
},
{
"glob": "**/*",
"input": "../../lib/core/i18n",
"output": "./@alfresco/core/i18n"
},
{
"glob": "**/*",
"input": "../../lib/insights/i18n",
"output": "./@alfresco/insights/i18n"
},
{
"glob": "**/*",
"input": "../../lib/process-services/i18n",
"output": "./@alfresco/process-services/i18n"
},
{
"glob": "**/*",
"input": "../../lib/content-services/i18n",
"output": "./@alfresco/content-services/i18n"
},
{ "glob": "pdf.worker.js", "input": "../node_modules/pdfjs-dist/build", "output": "./" }
],
"index": "index.html",