Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

filerev file not replaced in destination file #577

Open
ghost opened this issue Aug 1, 2015 · 4 comments
Open

filerev file not replaced in destination file #577

ghost opened this issue Aug 1, 2015 · 4 comments

Comments

@ghost
Copy link

ghost commented Aug 1, 2015

Hi,

After I have updated usemin I have a problem when I use this configuration to rev my files and rewrite them, it will not rewrite them because of the injector tags, if I remove them it will rev them. But it worked with the old grunt usemin.

    <!-- build:css(.tmp) assets/css/custom.css -->
    <!-- injector:css -->
    <link rel="stylesheet" href="css/main.css">
    <!-- endinjector -->
    <!-- endbuild -->

Version that worked

npm --version: 2.13.0
    "grunt-usemin": "^2.4.0",
    "grunt-injector": "^0.6.0"

Version that doesn't work

npm --version: 2.13.0
    "grunt-usemin": "^3.0.0",
    "grunt-injector": "^0.6.0"

To be clear, the html build/injector tags just stay there, like nothing has happened. But when I don't combine the two tags, it works like a charm. How can I fix this with the current usemin version?

@eddiemonge
Copy link
Member

what is the injector bit?

@ghost
Copy link
Author

ghost commented Aug 13, 2015

Is like wiredep, e.g. injector can inject your custom files into your index.html file.

@eddiemonge
Copy link
Member

@luxueyan
Copy link

luxueyan commented Oct 8, 2015

I think it may be help #599

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants