File tree Expand file tree Collapse file tree 5 files changed +5
-7
lines changed Expand file tree Collapse file tree 5 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 4
4
" @babel/preset-react"
5
5
],
6
6
"plugins" : [
7
- " @babel/plugin-syntax-object-rest-spread" ,
8
- " @babel/plugin-transform-classes"
7
+ " @babel/plugin-syntax-object-rest-spread"
9
8
]
10
9
}
Original file line number Diff line number Diff line change 1
- module . exports = require ( './dist/adapter/file ' ) . default ;
1
+ module . exports = require ( './dist/adapter/cdn ' ) . default ;
Original file line number Diff line number Diff line change 1
- console . log ( "helo" ) ;
2
- console . log ( require ( './dist/static-container' ) ) ;
3
-
4
1
module . exports = {
5
2
StaticCSS : require ( './dist/static-container' ) . default ,
6
3
DynamicCSS : require ( './dist/dynamic-container' ) . default ,
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import { mount } from 'enzyme' ;
3
- import { StaticCSS as CSS , DynamicCSS , Resolver } from '../../index ' ;
3
+ import { StaticCSS as CSS , DynamicCSS , Resolver } from '../../' ;
4
4
import FileSystemAdapter from '../../file' ;
5
5
import CDNAdapter from '../../cdn' ;
6
6
Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ export default class Resolver {
29
29
} ) ;
30
30
}
31
31
render ( ) {
32
+ console . log ( "hello" ) ;
32
33
return this . resolve ( ) . then ( ( rawResponse ) => {
34
+ console . log ( rawResponse ) ;
33
35
return this . adapter . render ( rawResponse ) ;
34
36
} ) ;
35
37
}
You can’t perform that action at this time.
0 commit comments