Skip to content

Commit 58de7f1

Browse files
committed
Maybe the config is fine but bazel's sandbox cause unexpected error with
webpack ref: webpack-contrib/mini-css-extract-plugin#493
1 parent 92ac387 commit 58de7f1

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

client/BUILD

+11-14
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,16 @@ filegroup(
1212
srcs = glob([
1313
"public/*",
1414
"src/assets/*",
15-
"src/components/*",
16-
"src/router/*",
17-
"src/store/*",
18-
"src/views/*",
15+
"src/components/*.vue",
16+
"src/router/*.ts",
17+
"src/store/*.ts",
18+
"src/views/*.vue",
1919
"src/*",
20+
"vue.config.js",
21+
"tsconfig.json",
22+
"babel.config.js",
23+
".browserlistrc",
24+
".eslintrc.js",
2025
]),
2126
)
2227

@@ -26,17 +31,9 @@ vue_cli_service(
2631
name = "ogpapp_client_build",
2732
args = [
2833
"build",
29-
"--modern",
3034
],
31-
data = glob([
32-
"public/*",
33-
"src/assets/*",
34-
"src/components/*",
35-
"src/router/*",
36-
"src/store/*",
37-
"src/views/*",
38-
"src/*",
39-
]) + [
35+
data = [
36+
":ogpapp_client_src",
4037
"@npm//:node_modules",
4138
],
4239
output_dir = True,

0 commit comments

Comments
 (0)