【发布时间】:2013-04-30 10:54:16
【问题描述】:
我们能否在 grunt 构建期间更改 grunt 中的链接,这些链接主要是生产链接的本地链接?
例如
.a-container {
background: url(../images/hello.jpg) no-repeat top center;
background-size: 100%;
}
构建后应该是这样的
.a-container {
background: url(http://hello.com/blah/blah/hello.jpg) no-repeat top center;
background-size: 100%;
}
我们有可以在 grunt 文件中配置的 URL。
【问题讨论】: