mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-06 19:14:50 +00:00
* Split ui build into build and build-ent folders * remove is_standalone var Co-authored-by: RoyUP9 <87927115+RoyUP9@users.noreply.github.com>
16 lines
586 B
JavaScript
16 lines
586 B
JavaScript
// this workaround fix a warning of mini-css-extract-plugin throws "Conflicting order" during build
|
|
// https://github.com/facebook/create-react-app/issues/5372
|
|
module.exports = {
|
|
webpack: {
|
|
configure: (webpackConfig) => {
|
|
const instanceOfMiniCssExtractPlugin = webpackConfig.plugins.find(
|
|
(plugin) => plugin.options && plugin.options.ignoreOrder != null,
|
|
);
|
|
if(instanceOfMiniCssExtractPlugin)
|
|
instanceOfMiniCssExtractPlugin.options.ignoreOrder = true;
|
|
|
|
return webpackConfig;
|
|
},
|
|
}
|
|
}
|