• 请不要在回答技术问题时复制粘贴 AI 生成的内容
123s
V2EX  ›  程序员

如果写一个 atom 插件,在保存 css,html 时可以自动加 hash

  •  
  •   123s · Jan 21, 2016 · 2323 views
    This topic created in 3854 days ago, the information mentioned may be changed or developed.
    会不会很傻,其实这样就可以方便没有用构建工具的人。每 10 分钟生成一个时间戳,当保存文件的时候,就在所有静态资源后加?bust=timesteamp 。
    2 replies    2016-01-22 15:59:05 +08:00
    zhjits
        1
    zhjits  
       Jan 21, 2016
    把构建工具集成到 Atom 怎么方便“没有用构建工具的人”了……
    maxsec
        2
    maxsec  
       Jan 22, 2016
    然并卵。
    固定时间戳并不是文件摘要
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1126 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 23:20 · PVG 07:20 · LAX 16:20 · JFK 19:20
    ♥ Do have faith in what you're doing.