build: Fix label name (#29777)

Fix the following error with future Bazel version:
```
 Invalid label: invalid target name 'internal/npm_package:npm_package.bzl': target names may not contain ':'
```

PR Close #29777
This commit is contained in:
Yun Peng 2019-04-09 11:27:48 +02:00 committed by Alex Rickabaugh
parent 2deac0a412
commit ca755a6b72
1 changed files with 2 additions and 2 deletions

View File

@ -17,14 +17,14 @@ load("@build_bazel_rules_nodejs//internal/common:collect_es6_sources.bzl", "coll
load("@build_bazel_rules_nodejs//internal/common:node_module_info.bzl", "NodeModuleInfo") load("@build_bazel_rules_nodejs//internal/common:node_module_info.bzl", "NodeModuleInfo")
load("@build_bazel_rules_nodejs//internal/common:sources_aspect.bzl", "sources_aspect") load("@build_bazel_rules_nodejs//internal/common:sources_aspect.bzl", "sources_aspect")
load( load(
"@build_bazel_rules_nodejs//:internal/rollup/rollup_bundle.bzl", "@build_bazel_rules_nodejs//internal/rollup:rollup_bundle.bzl",
"ROLLUP_ATTRS", "ROLLUP_ATTRS",
"ROLLUP_DEPS_ASPECTS", "ROLLUP_DEPS_ASPECTS",
"run_terser", "run_terser",
"write_rollup_config", "write_rollup_config",
) )
load( load(
"@build_bazel_rules_nodejs//:internal/npm_package/npm_package.bzl", "@build_bazel_rules_nodejs//internal/npm_package:npm_package.bzl",
"NPM_PACKAGE_ATTRS", "NPM_PACKAGE_ATTRS",
"NPM_PACKAGE_OUTPUTS", "NPM_PACKAGE_OUTPUTS",
"create_package", "create_package",