fix(directus): resolve extension visibility and registration failures
- Corrected module_bar settings to restore custom extension visibility in UI. - Fixed 'fs' dynamic require in acquisition endpoint by externalizing Node.js built-ins. - Standardized local environment branding to AT Mintel.
This commit is contained in:
@@ -22,7 +22,7 @@ build({
|
||||
target: 'node18',
|
||||
outfile: outfile,
|
||||
format: 'esm',
|
||||
external: ["jsdom", "jsdom/*", "jquery", "jquery/*", "canvas"],
|
||||
external: ["jsdom", "jsdom/*", "jquery", "jquery/*", "canvas", "fs", "path", "os", "http", "https", "zlib", "stream", "util", "url", "net", "tls", "crypto"],
|
||||
plugins: [{
|
||||
name: 'mock-canvas',
|
||||
setup(build) {
|
||||
|
||||
@@ -23,7 +23,7 @@ build({
|
||||
outfile: outfile,
|
||||
format: 'esm',
|
||||
// Bundle everything, including Directus SDK, to avoid resolution issues in Docker
|
||||
external: ["jsdom", "jsdom/*", "jquery", "jquery/*", "canvas"],
|
||||
external: ["jsdom", "jsdom/*", "jquery", "jquery/*", "canvas", "fs", "path", "os", "http", "https", "zlib", "stream", "util", "url", "net", "tls", "crypto"],
|
||||
plugins: [{
|
||||
name: 'mock-canvas',
|
||||
setup(build) {
|
||||
|
||||
Reference in New Issue
Block a user