mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-11-19 01:39:26 +01:00
8472f27ec5
GitOrigin-RevId: ddf02e70d2827c048db49b687ebbcdcc67807ca6
44 lines
1.0 KiB
Python
44 lines
1.0 KiB
Python
load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")
|
|
|
|
exports_files([
|
|
"nuxt.server.js",
|
|
"package.json",
|
|
"webpack.dynamic.server.js",
|
|
"webpack.server.js",
|
|
"yarn.lock",
|
|
".babelrc",
|
|
])
|
|
|
|
nodejs_binary(
|
|
name = "webpack-binary",
|
|
data = [
|
|
"@npm//copy-webpack-plugin",
|
|
"@npm//html-webpack-plugin",
|
|
"@npm//mini-css-extract-plugin",
|
|
"@npm//vue-loader",
|
|
"@npm//webpack",
|
|
"@npm//webpack-cli",
|
|
],
|
|
entry_point = "@npm//:node_modules/webpack-cli/bin/cli.js",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
nodejs_binary(
|
|
name = "webpack-dev-server-binary",
|
|
data = [
|
|
"@npm//webpack-cli",
|
|
"@npm//webpack-dev-server",
|
|
],
|
|
entry_point = "@npm//:node_modules/webpack-dev-server/bin/webpack-dev-server.js",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
nodejs_binary(
|
|
name = "nuxt-binary",
|
|
data = [
|
|
"@npm//nuxt",
|
|
],
|
|
entry_point = "@npm//:node_modules/nuxt/bin/nuxt.js",
|
|
visibility = ["//visibility:public"],
|
|
)
|