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

If there is nothing to inject, existing value should be removed #77

Closed
rightaway opened this issue Dec 30, 2014 · 1 comment
Closed

Comments

@rightaway
Copy link

If I have this in my output file and run gulp in a way where gulp-inject Nothing to inject into file.js. appears in the output, everything between the inject tags should be removed. Instead, the file is left unchanged.

        <!-- inject:js -->
        <script src="/path/file.js"></script>
        <!-- endinject -->
@joakimbeng
Copy link
Member

I'm afraid it's not possible, see the discussion in the duplicate issue #59

This issue was closed.
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