mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 17:58:43 -05:00
chore: support 'anything' through nebula serve (#1626)
This commit is contained in:
@@ -158,6 +158,7 @@ module.exports = async ({
|
||||
port: entryWatcher && entryWatcher.port,
|
||||
},
|
||||
flags: serveConfig.flags,
|
||||
anything: serveConfig.anything,
|
||||
themes: themes.map((theme) => theme.id),
|
||||
types: serveConfig.types,
|
||||
keyboardNavigation: serveConfig.keyboardNavigation,
|
||||
|
||||
@@ -11,7 +11,7 @@ const getDefaultGenericObject = ({ type }) => ({
|
||||
},
|
||||
});
|
||||
|
||||
const getServeOptions = ({ themes = [], supernova = {}, flags }) => {
|
||||
const getServeOptions = ({ themes = [], supernova = {}, flags, anything }) => {
|
||||
const options = {
|
||||
instanceConfig: {
|
||||
themes: themes.map((t) => ({
|
||||
@@ -22,6 +22,7 @@ const getServeOptions = ({ themes = [], supernova = {}, flags }) => {
|
||||
constraints: {},
|
||||
},
|
||||
flags,
|
||||
anything,
|
||||
},
|
||||
};
|
||||
if (supernova.name) {
|
||||
|
||||
Reference in New Issue
Block a user