mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 22:57:11 -04:00
Added react i18next.
This commit is contained in:
parent
6f440a13cd
commit
61a95c1630
13 changed files with 449 additions and 32 deletions
|
@ -1,10 +1,19 @@
|
|||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react-swc'
|
||||
import svgr from 'vite-plugin-svgr'
|
||||
import {viteStaticCopy} from "vite-plugin-static-copy";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react(), svgr()],
|
||||
plugins: [react(), svgr(), viteStaticCopy({
|
||||
targets: [
|
||||
{
|
||||
src: '../src/locales',
|
||||
dest: ''
|
||||
}
|
||||
]
|
||||
})],
|
||||
base: '/admin',
|
||||
server:{
|
||||
proxy: {
|
||||
'/socket.io/': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue