Commit c5f89e5b authored by Tim Zallmann's avatar Tim Zallmann

Merge branch 'docs-update-fe-dependencies-guide' into 'master'

Update FE guides with dependency/devDependency distinction

See merge request gitlab-org/gitlab-ce!19287
parents 39d2fa08 0a1b2a00
# Dependencies # Dependencies
## Adding Dependencies.
GitLab uses `yarn` to manage dependencies. These dependencies are defined in
two groups within `package.json`, `dependencies` and `devDependencies`. For
our purposes, we consider anything that is required to compile our production
assets a "production" dependency. That is, anything required to run the
`webpack` script with `NODE_ENV=production`. Tools like `eslint`, `karma`, and
various plugins and tools used in development are considered `devDependencies`.
This distinction is used by omnibus to determine which dependencies it requires
when building GitLab.
Exceptions are made for some tools that we require in the
`gitlab:assets:compile` CI job such as `webpack-bundle-analyzer` to analyze our
production assets post-compile.
---
> TODO: Add Dependencies > TODO: Add Dependencies
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment