Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

md5-renamer 依赖于替换顺序 #90

Open
kekee000 opened this issue May 10, 2015 · 0 comments
Open

md5-renamer 依赖于替换顺序 #90

kekee000 opened this issue May 10, 2015 · 0 comments
Assignees

Comments

@kekee000
Copy link

renamer替换顺序应当是pic->css->html,配置里面没有强制替换顺序,会导致html中css文件替换后md5非最新的css的md5,使用分步替换可以解决这个问题,先替换css,再替换html,但是需要2个processor结合使用,希望强制替换顺序。

            replacements: {
                // 处理tags里面的定义
                html: { },
                // 处理url(...)
                css: { }
            }

=>

            replacements:[
                // 处理url(...)
                css: { },
                // 处理tags里面的定义
                html: { }
            ]
@leeight leeight self-assigned this May 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants