Skip to content

Prioritize project-local build path in NODE_PATH config templates#6735

Open
rhcarvalho wants to merge 1 commit into
phoenixframework:mainfrom
rhcarvalho:prioritize-local-node-path
Open

Prioritize project-local build path in NODE_PATH config templates#6735
rhcarvalho wants to merge 1 commit into
phoenixframework:mainfrom
rhcarvalho:prioritize-local-node-path

Conversation

@rhcarvalho

Copy link
Copy Markdown
Contributor

For security, ensure that project-local files (Mix.Project.build_path()) have priority over dependency-controlled directories (Path.expand("../deps", __DIR__)) in the NODE_PATH environment variable for esbuild and tailwind configs. This prevents dependencies from overriding project-local assets/files.

For security, ensure that project-local files (Mix.Project.build_path())
have priority over dependency-controlled directories (Path.expand("../deps", __DIR__))
in the NODE_PATH environment variable for esbuild and tailwind configs.
This prevents dependencies from overriding project-local assets/files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant