/** * IBM Confidential OCO Source Materials IBM Business Platform: BA Glass * (C) Copyright IBM Corp. 2018 * * The source code for this program is not published or otherwise divested of * its trade secrets, irrespective of what has been deposited with the U.S. * Copyright Office */ { appDir: '..', baseUrl: '.', mainConfigFile: './config.js', dir: '../tmp', fileExclusionRegExp: /^(rjs)$|^\.|^doc|^stylesheets|^tests|^images|^Gruntfile\.js$|^jsdoc|^jsDocs|^README\.md$|^version$|^package\.json$/, modules: [{ name: 'glass-deps.min', include: [ // Third party dependencies 'bootstrap', 'bluebird', 'ca-ui-toolkit-core', 'classnames', 'doT', 'hammerjs', 'i18n', 'jquery', 'jquery-bbq', 'jquery-ui', 'jquery.hammer', 'mobx', 'mobx-react', 'mobx-state-tree', 'polyglot', 'prop-types', 'react', 'react-dnd', 'react-dom', 'requirejs', 'text', 'toastr', 'touch-punch', 'underscore' ], create: true }, { name: 'glass.min', include: [ // Glass client code 'baglass/api/all', 'baglass/app/AppController', 'baglass/app/ContentView', 'baglass/app/plugins/all', 'baglass/common/ui/all', 'baglass/common/views/all', 'baglass/services/LogService', 'baglass/nls/BAGlassResources', 'baglass/nls/root/BAGlassResources', 'baglass/utils/ThemeUtils', 'baglass/core-client/js/core-client/ui/dialogs/MessageBox', 'baglass/core-client/js/core-client/ui/dialogs/ConfirmationDialog', 'baglass/core-client/js/core-client/ui/content/dialog/ShareDialog', 'baglass/core-client/js/core-client/ui/content/dialog/EmbedDialog', 'core-client/utils/Promise' ], exclude: [ 'glass-deps.min' ], create: true }], optimize: 'uglify2', optimizeCss: 'none', skipDirOptimize: true, generateSourceMaps: false, preserveLicenseComments: false, // Must be set to false for generateSourceMaps to work, see http://requirejs.org/docs/errors.html#sourcemapcomments removeCombined: false, // If true, optimizer will remove concatenated files from the output directory. skipPragmas: true, wrapShim: true }