# msx-ui-webpack-externals **Repository Path**: mirrors_CiscoDevNet/msx-ui-webpack-externals ## Basic Information - **Project Name**: msx-ui-webpack-externals - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-22 - **Last Updated**: 2025-10-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # @msx/webpack-externals External module configuration for Webpack. Include in your Webpack configuration to omit modules from a bundle which are provided by the MSX platform, e.g. `@angular/core`, `@angular/common`, etc. ## Usage Install `@msx/webpack-externals` in your package's `devDependencies` $ npm install --save-dev @msx/webpack-externals Import and include its configuration in your Webpack configuration's `externals` object. ```javascript // webpack.config.js const msxExternals = require('@msx/webpack-externals'); module.exports = () => { return { externals: { ...msxExternals, // Other externals for your bundle can go here } } }; ``` ## Omitted Modules By using this package you will omit the following modules from your bundle and instead pick them up from window references provided by the MSX platform UI. * `angular` * `jquery` * `lodash` * `moment` * `d3` * `rxjs` * `rxjs/operators` * `@angular/core` * `@angular/common` * `@angular/common/http` * `@angular/compiler` * `@angular/platform-browser` * `@angular/platform-browser-dynamic` * `@angular/upgrade/static` * `@angular/forms` * `@msx/root-injector` * `@msx/common`