grunt-rev-md5's People
Forkers
jpgarcia michaellopez corlobepy royts chaptykov jsteunou matiasdecarli whoopinc xghrbc1001 gruntjs-updatergrunt-rev-md5's Issues
CSS/JS tag with a line break
Seems like the there is a line break in the tag, the plugin won't append the md5.
So it will work for:
<script src="abc.js></script>
but won't for:
<script
src="abc.js></script>
I guess it happens because it reads the file line after line and analyze each line separately.
Would it make sense to read the file as a DOM element and work by nodes?
Grunt 0.4 Release
I'm posting this issue to let you know that we will be publishing Grunt 0.4 on Monday, February 18th.
If your plugin is not already Grunt 0.4 compatible, would you please consider updating it? For an overview of what's changed, please see our migration guide.
If you'd like to develop against the final version of Grunt before Monday, please specify "grunt": "0.4.0rc8"
as a devDependency in your project. After Monday's release, you'll be able to use "grunt": "~0.4.0"
to actually publish your plugin. If you depend on any plugins from the grunt-contrib series, please see our list of release candidates for compatible versions. All of these will be updated to final status when Grunt 0.4 is published.
Also, in an effort to reduce duplication of effort and fragmentation in the developer community, could you review the grunt-contrib series of plugins to see if any of your functionality overlaps significantly with them? Grunt-contrib is community maintained with 40+ contributors—we'd love to discuss any additions you'd like to make.
Finally, we're working on a new task format that doesn't depend on Grunt: it's called node-task. Once this is complete, there will be one more conversion, and then we'll never ask you to upgrade your plugins to support our changes again. Until that happens, thanks for bearing with us!
If you have any questions about how to proceed, please respond here, or join us in #grunt on irc.freenode.net.
Thanks, we really appreciate your work!
For html files it returns 'undefined' on absolute url
stampUrl
just does return;
for absolute urls and html parser does not check to return value of stampUrl
Module doesn't work when url() in CSS contains invalid file name
Console output: Warning: Arguments to path.join must be strings Use --force to continue.
Test cases:
background: url('about:blank');
behavior: url(#default#VML);
unrecognized extension errors
type and filename values are included when output warnings messages.
There is also a bad reference to file when calculating the filePath, it should be filename instead
Should not add ?v=x in resources inside Handlebars templates
The following markup
<img src="{{avatarUrl.thumb}}" alt="{{username}}">
is being replaced with something like this
<img src="{{avatarUrl.thumb}}?v=679059" alt="{{username}}">
Create manifest file of file hashes
It would be usefult to have the task creating a json manifest file where all the hashes are stored, something like:
{
"original/file/one": "22324hdvtyd6vchdcs7vc"
}
Add an option "dontFixRelative"
Hi,
I have this use case on a project using Handlebars templates. All my images src are relative to the application directory, not the template file directory, because at the end all my templates are compiled and concatenated.
It would be great to have an option to indicate if it's relative to source file or gruntfile (application directory) with default to actual behaviour which is relative to source file.
What do you think?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.