-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathBUILD
More file actions
32 lines (29 loc) · 780 Bytes
/
BUILD
File metadata and controls
32 lines (29 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package(default_visibility = ['//visibility:public'])
load('@org_dropbox_rules_node//node:defs.bzl', 'webpack_build')
load('@org_dropbox_rules_node//node:defs.bzl', 'mocha_test')
webpack_build(
name = 'webpack_build',
srcs = glob([
'src/*.ts',
'tsconfig.json',
]),
outs = ['bundle.js'],
config = 'webpack.config.js',
deps = [
'@org_dropbox_rules_node//node/dbx-bazel-utils',
'//examples/npm/ts-loader',
'//examples/npm/typescript',
'//examples/npm/react',
'//examples/internal_module',
],
)
mocha_test(
name = 'mocha_test',
srcs = glob([
'test/*.spec.js'
]),
deps = [
'@org_dropbox_rules_node//node/dbx-bazel-utils',
'//examples/webpack_build'
],
)