From 1fba805ab8ccbb37d3c778983f41144a865864d7 Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Fri, 2 Jun 2017 09:17:08 +0100 Subject: [PATCH] [ADF-721] Fix translation reference for dev task (#1923) * move translation files in the bundles folder * fix after review ripristinate tslint and remove override tsconfig --- demo-shell-ng2/config/webpack.prod.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/demo-shell-ng2/config/webpack.prod.js b/demo-shell-ng2/config/webpack.prod.js index 996e9ed846..b852436bd4 100644 --- a/demo-shell-ng2/config/webpack.prod.js +++ b/demo-shell-ng2/config/webpack.prod.js @@ -74,6 +74,14 @@ module.exports = webpackMerge(commonConfig, { }), new CopyWebpackPlugin([ + //Deprecation old files translation strategy from 1.6.0 translation files are in the bundles folder + ... alfrescoLibs.map(lib => { + return { + context: 'node_modules', + from: `${lib}/src/i18n/*`, + to: `assets/${lib}/i18n/*` + } + }), ... alfrescoLibs.map(lib => { return { context: `node_modules/${lib}/bundles/assets/`,