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 44 " @babel/preset-react"
55 ],
66 "plugins" : [
7- " @babel/plugin-syntax-object-rest-spread" ,
8- " @babel/plugin-transform-classes"
7+ " @babel/plugin-syntax-object-rest-spread"
98 ]
109}
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-
41module . exports = {
52 StaticCSS : require ( './dist/static-container' ) . default ,
63 DynamicCSS : require ( './dist/dynamic-container' ) . default ,
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { mount } from 'enzyme' ;
3- import { StaticCSS as CSS , DynamicCSS , Resolver } from '../../index ' ;
3+ import { StaticCSS as CSS , DynamicCSS , Resolver } from '../../' ;
44import FileSystemAdapter from '../../file' ;
55import CDNAdapter from '../../cdn' ;
66
Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ export default class Resolver {
2929 } ) ;
3030 }
3131 render ( ) {
32+ console . log ( "hello" ) ;
3233 return this . resolve ( ) . then ( ( rawResponse ) => {
34+ console . log ( rawResponse ) ;
3335 return this . adapter . render ( rawResponse ) ;
3436 } ) ;
3537 }
You can’t perform that action at this time.
0 commit comments