Web:Client:Webpack: delete useless code
This commit is contained in:
parent
0c63349dd1
commit
e3ba3fe29d
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user