Commit Graph

2 Commits

Author SHA1 Message Date
Asad Memon
41af1d8561 pw_web_ui: Replace '@pigweed' and 'pigweed' imports with 'pigweedjs'
Changing package name from pigweed to pigweedjs caused a few protos
to not be included in final bundle. This fixes the bug and adds
a test to check if the bundle imports some outside module, which
happens when rollup fails to find the right module when creating
the bundle.

Change-Id: I0987ca74e91b1b355779bf382ea8b567e62eda18
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/103400
Commit-Queue: Asad Memon <asadmemon@google.com>
Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
2022-07-25 21:46:54 +00:00
Asad Memon
33fe97272b pw_web_ui: Export WebSerial.WebSerialTransport helper class
This exports a helper class to connect to serial port and subscribe
to uint8 chunks easily without having to re-implement that logic.

Change-Id: Ie6563d0cfc71acf2d3eb79d5b10309da38b746ff
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/103002
Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
Commit-Queue: Asad Memon <asadmemon@google.com>
2022-07-22 21:06:09 +00:00