File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -7,17 +7,17 @@ import { ComponentResolver } from '../../types'
77 * @link https://github.com/quasarframework/quasar
88 */
99export function QuasarResolver ( ) : ComponentResolver {
10- return ( name : string ) => {
11- let components = [ ] ;
10+ return ( name : string ) => {
11+ let components = [ ]
1212
13- try {
14- /* eslint-disable @typescript-eslint/no-var-requires */
15- components = require ( 'quasar/dist/transforms/api-list.json' )
16- } catch ( e ) {
17- }
18-
19- if ( components . includes ( name ) ) {
20- return { importName : name , path : 'quasar' }
21- }
13+ try {
14+ /* eslint-disable @typescript-eslint/no-var-requires */
15+ components = require ( 'quasar/dist/transforms/api-list.json' )
16+ }
17+ catch ( e ) {
2218 }
19+
20+ if ( components . includes ( name ) )
21+ return { importName : name , path : 'quasar' }
22+ }
2323}
You can’t perform that action at this time.
0 commit comments