Web:Client:Webpack: delete useless code

This commit is contained in:
Timofey Boyko 2023-02-01 18:43:26 +03:00
parent 0c63349dd1
commit e3ba3fe29d

View File

@ -234,17 +234,13 @@ const config = {
new ExternalTemplateRemotesPlugin(),
new PrebuildWebpackPlugin({
build: async (compiler, compilation, matchedFiles) => {
const error = await beforeBuild(
await beforeBuild(
[
path.join(__dirname, "./public/locales"),
path.join(__dirname, "../../public/locales"),
],
path.join(__dirname, "./src/helpers/autoGeneratedTranslations.js")
);
if (error) {
throw new Error(error);
}
},
}),
new CopyPlugin({