mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 09:48:18 -05:00
* chore: fix mixin and external mod * chore: add back to root * chore: add systemjs build of stardust * chore: trigger diff * fix: remove typo import
21 lines
599 B
JavaScript
21 lines
599 B
JavaScript
const systemjsBehaviours = {
|
|
getExternal: ({ config: cfg }) => {
|
|
const defaultExternal = [
|
|
'@nebula.js/stardust',
|
|
'picasso.js',
|
|
'picasso-plugin-q',
|
|
'react',
|
|
'react-dom',
|
|
'@qlik-trial/sprout-css-modules',
|
|
/^(?!@qlik-trial\/qmfe-data-client-parcels)(@qlik-trial\/qmfe-)/,
|
|
];
|
|
const { external } = cfg.systemjs || {};
|
|
return Array.isArray(external) ? external : defaultExternal;
|
|
},
|
|
getOutputFile: ({ pkg }) => pkg.systemjs,
|
|
getOutputName: () => undefined,
|
|
enabled: ({ pkg }) => !!pkg.systemjs,
|
|
};
|
|
|
|
module.exports = systemjsBehaviours;
|