Skip to content
代码片段 群组 项目
  • Stanislav Lashmanov's avatar
    5da2da95
    Move CSS compilation to Vite Ruby · 5da2da95
    Stanislav Lashmanov 创作于
    The encompasses a few changes:
    
    1. extend the `universal_stylesheet_link_tag` and
       `universal_path_to_stylesheet` to serve styles directlt from `vite`.
    1. use `vite`'s native SCSS feature. This needs a lot of config changes.
    1. Use alias for @gitlab fonts: Otherwise we get files under
       `public/assets/@gitlab`. And who knows how well reverse proxies
       and such would handle built assets that have an at in the URL.
    未验证
    5da2da95
    历史
    Move CSS compilation to Vite Ruby
    Stanislav Lashmanov 创作于
    The encompasses a few changes:
    
    1. extend the `universal_stylesheet_link_tag` and
       `universal_path_to_stylesheet` to serve styles directlt from `vite`.
    1. use `vite`'s native SCSS feature. This needs a lot of config changes.
    1. Use alias for @gitlab fonts: Otherwise we get files under
       `public/assets/@gitlab`. And who knows how well reverse proxies
       and such would handle built assets that have an at in the URL.
代码所有者
vite.json 486 B