mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fix Webpack warnings (#25147)
* Remove invalid SCSS * Silence module federation warning by not exposing prop-types
This commit is contained in:
@@ -119,16 +119,6 @@
|
||||
|
||||
// Tablet and desktop
|
||||
@media screen and (min-width: 769px) {
|
||||
// ensure the global header always sits on top of its immediate sibling
|
||||
> header {
|
||||
z-index: 2;
|
||||
|
||||
+ * {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.search-help-popover {
|
||||
width: 274px;
|
||||
}
|
||||
|
||||
@@ -5,12 +5,13 @@
|
||||
|
||||
const path = require('path');
|
||||
const url = require('url');
|
||||
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||
const ExternalTemplateRemotesPlugin = require('external-remotes-plugin');
|
||||
const webpack = require('webpack');
|
||||
const {ModuleFederationPlugin} = require('webpack').container;
|
||||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||||
const webpack = require('webpack');
|
||||
const {ModuleFederationPlugin} = require('webpack').container;
|
||||
const WebpackPwaManifest = require('webpack-pwa-manifest');
|
||||
|
||||
// const {BundleAnalyzerPlugin} = require('webpack-bundle-analyzer');
|
||||
@@ -337,7 +338,6 @@ async function initializeModuleFederation() {
|
||||
'@mattermost/client',
|
||||
'@mattermost/types',
|
||||
'luxon',
|
||||
'prop-types',
|
||||
], false),
|
||||
|
||||
// Other containers will be forced to use the exact versions of shared modules that the web app provides.
|
||||
|
||||
Reference in New Issue
Block a user