niming007zh

cdn 用的静态文件名加 hash 有什么好办法?

  •  
  •   niming007zh · Dec 8, 2019 · 3071 views
    This topic created in 2428 days ago, the information mentioned may be changed or developed.

    如题,请 问在 html、css、js 里引用一个 pic.jpg ,想在编译的时候把文件和引用都变成 pic.87hg5xr.jpg 这种,应该怎么办呢?

    我在用 angular,它不支持这个,连把 assets 部署到另一个域名都没办法一次编译完成,马上 2020 年了,不知道有什么好办法?

    1 replies    2019-12-09 18:01:46 +08:00
    niming007zh
        1
    niming007zh  
    OP
       Dec 9, 2019
    有没有大佬能指条路
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2830 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 08:20 · PVG 16:20 · LAX 01:20 · JFK 04:20
    ♥ Do have faith in what you're doing.