Fix Webpack warnings (#25147)

* Remove invalid SCSS

* Silence module federation warning by not exposing prop-types
This commit is contained in:
Harrison Healey
2023-10-30 09:54:33 -04:00
committed by GitHub
parent 2d707017df
commit 36a15fd22b
2 changed files with 3 additions and 13 deletions

View File

@@ -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;
}

View File

@@ -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.