# Additional rules, which are solely npm related, to not bloat the package size.
#
# These are AUTHORITATIVE. `npm pack` and `npm publish` append a copy of `.gitignore` below the
# marker (the `prepack` script) and drop from that copy any rule for a path named here, so a rule in
# this section cannot be contradicted by the copy, whichever way an ignore file would otherwise
# resolve the two. `prepack` prints what it dropped and for which path; `postpack` removes the copy
# again, so nothing below the marker is committed.

# Workspaces generate browser dependencies in their installed Engine copy.
# The npm package contains their sources and build scripts, never generated output.
/dist
/docs/output
# Generated SEO artifacts for the deployed portal site (buildScripts/docs/seo/generate.mjs).
# Tracked so the deployment can serve them; 3.2 MiB combined and addressed to search-engine and
# LLM crawlers of neomjs.com, which no installed package is. Regenerated by the release prepare
# step, so excluding them here cannot make the deployed site stale.
/apps/portal/sitemap.xml
/apps/portal/llms.txt

# Original content of the .gitignore file
