mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 17:58:43 -05:00
feat: add host config to config and galaxy (#1628)
* feat: add host config to config and galaxy * chore: externalize qmfe-api in systemjs package * fix: config * fix: update tests * chore: update comment and add qlik/api to externals
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
const systemjsBehaviours = {
|
||||
getExternal: ({ config: cfg }) => {
|
||||
const defaultExternal = ['@nebula.js/stardust', 'picasso.js', 'picasso-plugin-q', 'react', 'react-dom'];
|
||||
const defaultExternal = [
|
||||
'@nebula.js/stardust',
|
||||
'picasso.js',
|
||||
'picasso-plugin-q',
|
||||
'react',
|
||||
'react-dom',
|
||||
'@qlik-trial/qmfe-api',
|
||||
'@qlik/api',
|
||||
];
|
||||
const { external } = cfg.systemjs || {};
|
||||
return Array.isArray(external) ? external : defaultExternal;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user