canvaspop / grunt-static-versioning Goto Github PK
View Code? Open in Web Editor NEWGrunt versioning plugin
License: MIT License
Grunt versioning plugin
License: MIT License
e.g.
versioning: {
options: {
cwd: 'public',
outputConfigDir: 'public/config'
},
dist: {
files: [{
assets: '<%= uglify.main.files %>',
bypass: true, // <-- flag to skip versioning for files
key: 'global',
dest: 'js',
type: 'js',
ext: '.min.js'
}]
}
}
More details to come.
Would be cool if you could use a wildcard for src files... ie:
files: [
assets: [
src: ["tmp/js/**/*.js"]
]
key: "main"
dest: "js"
type: "js"
ext: ".js"
]
The reason is that I have a number of files that I am compiling with coffeescript, a whole folder that just gets compiled automatically. It would be sweet if in "dev mode" if versioning it listed out all those files in the assets.config file so it's easier to debug. It's just full of custom jquery plugins and other randoms that's that have no importance of precedence
maybe there's already a way to do this?
I'm usually a JavaScript /node.js guy but have to use PHP for this project I'm working on.
How do I get the values from the generated array in the PHP config file?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.