expert-lsp / expert-lsp/expert
Phoenix Colocated JS - Causing Infinite Indexing
- Dominant language
- Elixir
- Stars
- 2.1k
- Forks
- 113
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 26
Description
[ColocatedJS](https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.ColocatedJS.html)
```elixir
def project do
[
...
compilers: [:phoenix_live_view] ++ Mix.compilers(),
phoenix_live_view: [colocated_js: [node_modules_path: "assets/node_modules"]],
...
]
end
```
```elixir
config :phoenix_live_view, :colocated_js,
target_directory: Path.expand("../assets/node_modules/phoenix-colocated", __DIR__)
```
If these are used Indexing causes an Ininitely index the source code.
```txt
- mix.exs (Using workspace as monorepo manager)
- apps
- child1
-assets
- node_modules/phoenix-colocated( will loop over this appends everything in the deps.. .)
- mix.exs
- packages
- child2
- mix.exs
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.