// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. const path = require('path'); // eslint-disable-next-line no-process-env const intuneEnabled = process.env.INTUNE_ENABLED === '1' || process.env.INTUNE_ENABLED === 'true'; const dependencies = {}; // Conditionally add Intune dependency when enabled if (intuneEnabled) { dependencies['@mattermost/intune'] = { root: path.resolve(__dirname, 'libraries/@mattermost/intune'), }; } module.exports = { dependencies, assets: [ './assets/fonts', ], };