-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnext.config.js
49 lines (47 loc) · 1.06 KB
/
next.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* eslint-disable */
const withBundleAnalyzer = require("@next/bundle-analyzer")({
enabled: process.env.ANALYZE_BUNDLE === "true"
});
/**
* @type import("@mui/material").ThemeOptions;
*/
const defaultThemeOptions = {
palette: {
primary: { main: "#004b89" },
secondary: { main: "#ffb476" }
},
components: {
MuiFormControl: {
defaultProps: { size: "small", margin: "normal" }
},
MuiSwitch: {
defaultProps: { size: "small" }
},
MuiRadio: {
defaultProps: { size: "small" }
},
MuiCheckbox: {
defaultProps: { size: "small" }
},
MuiButton: {
defaultProps: { size: "small" }
},
MuiIconButton: {
defaultProps: { size: "small" }
},
MuiSvgIcon: {
defaultProps: { fontSize: "small" }
}
}
};
module.exports = withBundleAnalyzer({
publicRuntimeConfig: {
defaultThemeOptions: defaultThemeOptions,
demo: {
title: "MUI Extended UI Components",
repoUrl: "https://github.com/sodaru/mui-extended"
}
},
basePath: "/mui-extended",
output: "export"
});