expert-lsp / expert-lsp/expert

Phoenix Colocated JS - Causing Infinite Indexing

未关闭
#482 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Elixir
星标
2.1k
派生
113
平均合并
1 天 10 小时
30 天内合并 PR
26

描述

[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
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。