Coder Social home page Coder Social logo

gulp-hash-src's People

Contributors

andrey-hohlov avatar andreykorolev avatar nmrugg avatar xquezme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gulp-hash-src's Issues

src with cache are not update after files changed

I have one script
<script src="Scripts/dest/engineJs.js"></script></code>
which is changed after plugin to
<script src="Scripts/dest/engineJs.js?cbh=e9af0a7edcdb8a013fea4af9c045aac2"></script>
But then when i change engineJs.js file and rerun plugin, script's src isn't changed. I think src should be updated to new hash.

this never make the filename hashed?

I was trying to use gulp-hash-src to update the urls in my html file into hash urls. unfortunately, it just copy the files to the dest but never change the filename into hash. I just use the demo on you doc, what should I do?

URIError: URI malformed

Example of url:

<script src="https://api-maps.yandex.ru/services/constructor/1.0/js/?sid=KZKmqk2k_PTcZUXjBXvVFmCxikruEPiw&amp;width=100%&amp;height=100%&amp;lang=ru_RU&amp;sourceType=constructor"></script>

When url contain symbol '%' gulp trowing error (i have removed full url to node_modues):

\node_modules\gulp-hash-src\hash-src.js:34
    link = decodeURI(String(link));
           ^
URIError: URI malformed
    at decodeURI (native)
    at clean_link (\node_modules\gulp-hash-src\hash-src.js:34:12)
    at oneach (\node_modules\gulp-hash-src\hash-src.js:119:24)
    at loop (\node_modules\gulp-hash-src\node_modules\girdle\girdle.js:146:17)
    at Immediate._onImmediate (\node_modules\gulp-hash-src\node_modules\girdle\girdle.js:150:25)
    at processImmediate [as _immediateCallback] (timers.js:371:17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.