Unverified Commit 0881dad1 authored by AmitUp9's avatar AmitUp9 Committed by GitHub
Browse files

update craco config to resolve material ui instances (#1060)

parent cade960b
Showing with 1 addition and 1 deletion
+1 -1
......@@ -13,7 +13,7 @@ module.exports = {
instanceOfMiniCssExtractPlugin.options.ignoreOrder = true;
webpackConfig.resolve.alias['react']= path.resolve(__dirname, 'node_modules/react'); // solve 2 react instances
webpackConfig.resolve.alias['@material-ui/styles']= path.resolve("node_modules", "@material-ui/styles");
return webpackConfig;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment