Commit 8b7a4597 authored by Lukas Eipert's avatar Lukas Eipert

Make browserslist known as a frontend file

If we are adjusting browser versions, we want a full pipeline to see the
effects (e.g. bundle size changes, etc.). Furthermore Danger should know
about the browserslist file.
parent 3feae782
...@@ -162,6 +162,7 @@ ...@@ -162,6 +162,7 @@
.frontend-build-patterns: &frontend-build-patterns .frontend-build-patterns: &frontend-build-patterns
- "{package.json,yarn.lock}" - "{package.json,yarn.lock}"
- ".browserslistrc"
- "babel.config.js" - "babel.config.js"
- "config/webpack.config.js" - "config/webpack.config.js"
- "config/**/*.js" - "config/**/*.js"
...@@ -170,6 +171,7 @@ ...@@ -170,6 +171,7 @@
.frontend-patterns: &frontend-patterns .frontend-patterns: &frontend-patterns
- "{package.json,yarn.lock}" - "{package.json,yarn.lock}"
- ".browserslistrc"
- "babel.config.js" - "babel.config.js"
- "jest.config.{base,integration,unit}.js" - "jest.config.{base,integration,unit}.js"
- ".csscomb.json" - ".csscomb.json"
......
...@@ -54,6 +54,7 @@ module Tooling ...@@ -54,6 +54,7 @@ module Tooling
%r{\A(ee/)?scripts/frontend/} => :frontend, %r{\A(ee/)?scripts/frontend/} => :frontend,
%r{(\A|/)( %r{(\A|/)(
\.babelrc | \.babelrc |
\.browserslistrc |
\.eslintignore | \.eslintignore |
\.eslintrc(\.yml)? | \.eslintrc(\.yml)? |
\.nvmrc | \.nvmrc |
......
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