niming007zh

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

  •  
  •   niming007zh · Dec 8, 2019 · 3186 views
    This topic created in 2554 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
    niming007zh
    OP
    Dec 9, 2019
    1
    有没有大佬能指条路
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   952 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 20:38 · PVG 04:38 · LAX 12:38 · JFK 15:38
    ♥ Do have faith in what you're doing.