expert-lsp / expert-lsp/expert
Phoenix Colocated JS - Causing Infinite Indexing
- Langage dominant
- Elixir
- Étoiles
- 2.1k
- Forks
- 113
- Merge moyen
- 1 j 10 h
- PR mergées (30 j)
- 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
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.