Adding license generation functionality

This commit is contained in:
Muluhabt
2026-07-29 16:53:50 +03:00
parent 26cc1f4fd2
commit 5161e278ce
102 changed files with 5995 additions and 21326 deletions

View File

@@ -13,6 +13,16 @@ export default defineConfig({
plugins: [react(), nxViteTsPaths()],
resolve: {
dedupe: ['react', 'react-dom', 'react-router-dom', '@tanstack/react-query'],
alias: {
// The vendored user-management UI pulls in file-type → token-types,
// which imports `node:buffer`. Point it at the browser polyfill so the
// production build resolves it instead of failing on a Node built-in.
'node:buffer': 'buffer',
},
},
define: {
// `buffer` expects a `global` binding that browsers do not provide.
global: 'globalThis',
},
build: {
outDir: '../../dist/apps/backoffice',