marcohengstenberg / forthehorde Goto Github PK
View Code? Open in Web Editor NEWMy Grunt being setup for frontend development
My Grunt being setup for frontend development
Is it possible to extend the htmlmin/htmlhint Function-Blocks, so they do not only .html files, but also .php files, laying in unminified-html folder.
Because, i plan to create a simple include in the header, to include the atf-styling right there.
Cryptic Issue Title ftw ;)
for a uncertain user, like me, who switches between SASS and LESS all the time, it would be great to use SASS in this "Toolkit" (is it a toolkit btw?)
Sure, adding the following piece of code to the package.json, does the magic of "now you can use SASS, you foolish dude"
"grunt-contrib-sass" : "*",
But there is still many other things to ensure the change to SASS from LESS in the gruntfile.js.
I would create a Pull Request, but I´m not that into Grunt right now.
Step 1: Adding Variables to the gruntfile.js
var globalConfig = {
styleFilesFolder: 'less',
styleTaskNamePrefix: 'lessy'
};
Step 2: Using these variables in the gruntfile.js
This is, where I need your competence. Because if have no clue, if stuff like the following works.
atf: {
files: [globalConfig.styleFilesFolder+'/atf/*.less'],
tasks: [globalConfig.styleTaskNamePrefix+'/-atf']
},
Step 3: ..
Step 4: Profit!
All (especially me) are happy ;)
Or would it be a better idea, just to create a second "functions"-block, just for the sass part, and do it the "make the code bigger"-dance ;)
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.