File tree Expand file tree Collapse file tree 4 files changed +4
-15
lines changed Expand file tree Collapse file tree 4 files changed +4
-15
lines changed Original file line number Diff line number Diff line change 12
12
"plugins" : [
13
13
[" @babel/transform-runtime" ],
14
14
[" @babel/proposal-class-properties" ],
15
- [" @babel/proposal-object-rest-spread" ],
16
- [" @babel/plugin-syntax-dynamic-import" ]
15
+ [" @babel/proposal-object-rest-spread" ]
17
16
]
18
17
}
Original file line number Diff line number Diff line change 302
302
"@babel/core" : " ^7.10.3" ,
303
303
"@babel/plugin-proposal-class-properties" : " ^7.10.4" ,
304
304
"@babel/plugin-proposal-object-rest-spread" : " ^7.10.4" ,
305
- "@babel/plugin-syntax-dynamic-import" : " ^7.8.3" ,
306
305
"@babel/plugin-transform-runtime" : " ^7.10.3" ,
307
306
"@babel/preset-env" : " ^7.10.3" ,
308
307
"@babel/preset-react" : " ^7.10.1" ,
309
308
"@babel/preset-typescript" : " ^7.10.4" ,
310
309
"@jest-runner/electron" : " ^3.0.0" ,
311
- "@loadable/component" : " ^5.13.1" ,
312
310
"@testing-library/jest-dom" : " ^5.11.0" ,
313
311
"@testing-library/react" : " ^10.4.3" ,
314
312
"@types/cookie" : " ^0.4.0" ,
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
2
import uuid from "uuid/v4" ; // (Universally Unique Identifier)--generates a unique ID
3
3
import gql from "graphql-tag" ;
4
- import loadable from "@loadable/component" ;
5
-
6
4
import HeaderEntryForm from "./HeaderEntryForm.jsx" ;
7
5
import BodyEntryForm from "./BodyEntryForm.jsx" ;
8
6
import GRPCProtoEntryForm from "./GRPCProtoEntryForm.jsx" ;
9
7
import FieldEntryForm from "./FieldEntryForm.jsx" ;
10
8
import CookieEntryForm from "./CookieEntryForm.jsx" ;
11
9
import historyController from "../../../controllers/historyController" ;
12
10
import GraphQLIntrospectionLog from "./GraphQLIntrospectionLog" ;
13
-
14
- // lazy loading to reduce bundle size (codemirror)
15
- const GraphQLBodyEntryForm = loadable ( ( ) => import ( './GraphQLBodyEntryForm' ) ) ;
16
- const GraphQLVariableEntryForm = loadable ( ( ) => import ( './GraphQLVariableEntryForm' ) ) ;
11
+ import GraphQLBodyEntryForm from "./GraphQLBodyEntryForm" ;
12
+ import GraphQLVariableEntryForm from "./GraphQLVariableEntryForm" ;
17
13
18
14
19
15
const ComposerNewRequest = ( {
Original file line number Diff line number Diff line change 1
1
import * as React from "react" ;
2
- import loadable from "@loadable/component" ;
3
-
4
- // lazy loading to reduce bundle size (chart.js)
5
- const BarGraph = loadable ( ( ) => import ( '../display/BarGraph' ) )
6
-
2
+ import BarGraph from "../display/BarGraph"
7
3
import ReqResContainer from "./ReqResContainer.jsx" ;
8
4
import NavBarContainer from "./NavBarContainer.jsx" ;
9
5
You can’t perform that action at this time.
0 commit comments