mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-05-04 15:02:58 +03:00
Revert remove locales from js bundle
This commit is contained in:
parent
8330f40d51
commit
ee5456cf8c
4 changed files with 113 additions and 37 deletions
client
8
client/webpack.common.js
vendored
8
client/webpack.common.js
vendored
|
@ -15,7 +15,6 @@ const HTML_PATH = path.resolve(RESOURCES_PATH, 'public/index.html');
|
|||
const HTML_INSTALL_PATH = path.resolve(RESOURCES_PATH, 'public/install.html');
|
||||
const HTML_LOGIN_PATH = path.resolve(RESOURCES_PATH, 'public/login.html');
|
||||
const FAVICON_PATH = path.resolve(RESOURCES_PATH, 'public/favicon.png');
|
||||
const LOCALES_PATH = path.resolve(RESOURCES_PATH, 'src/__locales/*.json');
|
||||
|
||||
const PUBLIC_PATH = path.resolve(__dirname, '../build/static');
|
||||
|
||||
|
@ -137,13 +136,6 @@ const config = {
|
|||
new CopyPlugin([
|
||||
{ from: FAVICON_PATH, to: PUBLIC_PATH },
|
||||
]),
|
||||
new CopyPlugin([
|
||||
{
|
||||
from: LOCALES_PATH,
|
||||
to: PUBLIC_PATH,
|
||||
context: 'src/',
|
||||
},
|
||||
]),
|
||||
],
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue