People.Client: fixed webpack config (f5744070ae)

This commit is contained in:
Daniil Senkiv 2019-08-27 16:00:46 +03:00
parent 81f8ee817b
commit 019c126e90

View File

@ -6,7 +6,7 @@ module.exports = (config) => {
new CopyWebpackPlugin(
[
{
from: path.join('src', path.sep, '**', path.sep, 'translations', path.sep, '**'),
from: path.join('src', path.sep, '**', path.sep, 'locales', path.sep, '**'),
to: 'locales',
transformPath(targetPath) {
const reversedArrayOfFolders = path.dirname(targetPath).split(path.sep).reverse();