File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change
1
+ ###############################
2
+ # Directory structure #
3
+ ###############################
4
+
5
+ # Artifacts are typically placed in a directory called "dist"
6
+ # Be aware that this setup will still create a bazel-out symlink in
7
+ # your project directory, which you must exclude from version control and your
8
+ # editor's search path.
9
+ build --symlink_prefix=dist/
10
+
11
+ ###############################
12
+ # Output #
13
+ ###############################
14
+
15
+ # A more useful default output mode for bazel query, which
16
+ # prints "ng_module rule //foo:bar" instead of just "//foo:bar".
17
+ query --output=label_kind
18
+
19
+ # By default, failing tests don't print any output, it's logged to a
20
+ # file instead.
21
+ test --test_output=errors
22
+
23
+ ###############################
24
+ # Typescript / Angular / Sass #
25
+ ###############################
26
+ # Make TypeScript and Angular compilation fast, by keeping a few
27
+ # copies of the compiler running as daemons, and cache SourceFile
28
+ # ASTs to reduce parse time.
29
+ build --strategy=TypeScriptCompile=worker --strategy=AngularTemplateCompile=worker
30
+
31
+ # Enable debugging tests with --config=debug
32
+ test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results
Original file line number Diff line number Diff line change @@ -20,6 +20,6 @@ genrule(
20
20
":ogpapp_client_src" ,
21
21
],
22
22
outs = ["dist" ],
23
- cmd = "$(location vue_cli_service) build" ,
23
+ cmd = "@npm//:node_modules/@vue/cli-service/bin/ vue_cli_service.js build" ,
24
24
tools = [":vue_cli_service" ],
25
25
)
You can’t perform that action at this time.
0 commit comments