File tree Expand file tree Collapse file tree
integration-tests/react-app Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 "private" : true ,
55 "dependencies" : {
66 "@polywrap/client-js" : " ~0.10.1" ,
7+ "@polywrap/sys-config-bundle-js" : " ~0.10.1" ,
78 "@types/react" : " ^18.2.13" ,
89 "@types/react-dom" : " ^18.2.6" ,
910 "react" : " ^18.2.0" ,
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { PolywrapClient } from "@polywrap/client-js" ;
3+ import { bundle } from "@polywrap/sys-config-bundle-js" ;
34
45function App ( ) {
56 const client = new PolywrapClient ( ) ;
67
8+ // Make extra sure the sys bundle works in the browser
9+ console . log ( bundle ) ;
10+
711 return (
812 < div className = "App" >
913 < header className = "App-header" >
Original file line number Diff line number Diff line change 3636 },
3737 "devDependencies" : {
3838 "@polywrap/cli-js" : " ~0.10.0" ,
39+ "@polywrap/sys-config-bundle-js" : " 0.10.1" ,
3940 "@polywrap/test-cases" : " 0.10.1" ,
4041 "@types/jest" : " 29.5.0" ,
4142 "@types/prettier" : " 2.6.0" ,
You can’t perform that action at this time.
0 commit comments