1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00

feat(i18n): add support for multiple languages (#6270)

feat(users): add i18n to create access token

chore(app): remove test code
This commit is contained in:
Chaim Lev-Ari 2022-01-10 15:22:21 +02:00 committed by GitHub
parent 87dda810fc
commit 8e45076f35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 460 additions and 44 deletions

View file

@ -10,9 +10,11 @@ const ESLintPlugin = require('eslint-webpack-plugin');
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
const Dotenv = require('dotenv-webpack');
const CopyPlugin = require('copy-webpack-plugin');
const pkg = require('../package.json');
const projectRoot = path.resolve(__dirname, '..');
module.exports = {
entry: {
main: './app',
@ -134,6 +136,14 @@ module.exports = {
collections: true,
paths: true,
}),
new CopyPlugin({
patterns: [
{
from: 'translations',
to: 'locales',
},
],
}),
],
optimization: {
moduleIds: 'deterministic',