Skip to content
代码片段 群组 项目
未验证 提交 0648554c 编辑于 作者: Mayra Cabrera's avatar Mayra Cabrera 提交者: GitLab
浏览文件

Merge branch 'sh-add-tailwind-cache-deps' into 'master'

Add frontend scripts to assets hash calculation

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/155469



Merged-by: default avatarMayra Cabrera <mcabrera@gitlab.com>
Approved-by: default avatarStanislav Lashmanov <slashmanov@gitlab.com>
Co-authored-by: default avatarStan Hu <stanhu@gmail.com>
No related branches found
No related tags found
无相关合并请求
...@@ -9,12 +9,11 @@ module Tasks ...@@ -9,12 +9,11 @@ module Tasks
# In the new caching strategy, we check the assets hash sum *before* compiling # In the new caching strategy, we check the assets hash sum *before* compiling
# the app/assets/javascripts/locale/**/app.js files. That means the hash sum # the app/assets/javascripts/locale/**/app.js files. That means the hash sum
# must depend on locale/**/gitlab.po. # must depend on locale/**/gitlab.po.
JS_ASSET_PATTERNS = %w[*.js config/**/*.js locale/**/gitlab.po].freeze JS_ASSET_PATTERNS = %w[*.js config/**/*.js scripts/frontend/*.{mjs,js} locale/**/gitlab.po].freeze
JS_ASSET_FILES = %w[ JS_ASSET_FILES = %w[
package.json package.json
yarn.lock yarn.lock
babel.config.js babel.config.js
config/webpack.config.js
.nvmrc .nvmrc
].freeze ].freeze
# Ruby gems might emit assets which have an impact on compilation # Ruby gems might emit assets which have an impact on compilation
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册