https://github.com/leonwind/bazel-vue-problem
https://github.com/leonwind/bazel-vue-problem
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/leonwind/bazel-vue-problem
- Owner: leonwind
- Created: 2021-12-02T16:18:02.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-02T18:25:00.000Z (over 4 years ago)
- Last Synced: 2025-05-29T10:40:04.182Z (about 1 year ago)
- Language: Vue
- Size: 150 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bazel Vue.js problem
Minimal example of bazel not being able to serve vue.js.
See [#3104](https://github.com/bazelbuild/rules_nodejs/issues/3104) for reference.
## How to reproduce
Working: `bazel build frontend:build`
Failing: `bazel run frontend:serve` with the output
```
ERROR Failed to compile with 1 error
This relative module was not found:
* ./src/main.js in multi (webpack)-dev-server/client?http://10.46.16.83:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
```