Switch to relative imports in .ts files
With the upcoming rules_js switch, I could only get relative imports
to work reliably. The absolute imports didn't work in some
circumstances. This patch gets all non-scouting directories moved to
relative imports. The motivation here is to keep the final switchover
patch as small as possible.
Signed-off-by: Philipp Schrader <philipp.schrader@gmail.com>
Change-Id: I6df3e2d8b539e52bb8d1ee83f18284b6c00b6e46
diff --git a/y2020/www/image_handler.ts b/y2020/www/image_handler.ts
index 856ee8b..07cee10 100644
--- a/y2020/www/image_handler.ts
+++ b/y2020/www/image_handler.ts
@@ -1,8 +1,8 @@
-import {Channel, Configuration} from 'org_frc971/aos/configuration_generated';
-import {Connection} from 'org_frc971/aos/network/www/proxy';
+import {Channel, Configuration} from '../../aos/configuration_generated';
+import {Connection} from '../../aos/network/www/proxy';
import {ByteBuffer} from 'flatbuffers';
-import {ImageMatchResult, Feature} from 'org_frc971/y2020/vision/sift/sift_generated'
-import {CameraImage} from 'org_frc971/frc971/vision/vision_generated';
+import {ImageMatchResult, Feature} from '../vision/sift/sift_generated'
+import {CameraImage} from '../../frc971/vision/vision_generated';
export class ImageHandler {
private canvas = document.createElement('canvas');