mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 19:12:50 +00:00
Adding license generation functionality
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user