-
Notifications
You must be signed in to change notification settings - Fork 24
/
.size-limit.js
35 lines (35 loc) · 924 Bytes
/
.size-limit.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
module.exports = [
{
name: 'createBreakpointsApi',
path: './shared/create-breakpoints-api/index.prod.js',
import: '{ createBreakpointsApi }',
limit: '280 B',
},
{
name: 'breakpoints.dev',
path: './shared/create-breakpoints-api/index.dev.js',
import: '{ createBreakpointsApi }',
limit: '790 B',
},
{
name: 'styled-breakpoints',
path: './styled-breakpoints/create-styled-breakpoints-theme/index.js',
import: '{ createStyledBreakpointsTheme }',
limit: '693 B',
},
{
name: 'useMediaQuery',
path: './use-media-query/index.js',
import: '{ useMediaQuery }',
limit: '313 B',
},
{
name: 'styled-breakpoints + useMediaQuery',
import: {
'./styled-breakpoints/create-styled-breakpoints-theme/index.js':
'{ createStyledBreakpointsTheme }',
'./use-media-query/index.js': '{ useMediaQuery }',
},
limit: '908 kB',
},
];