Comments (6)
Gulpfile.js
var gulp = require('gulp');
var less = require('gulp-less');
var path = require('path');
gulp.task('css', function(){
gulp.src('./static/src/*.less')
.pipe(less({
compress: true,
paths: [
path.join(__dirname, 'static/src/less'),
path.join(__dirname, 'static/src/bootstrap')
]
}))
.pipe(gulp.dest('./static/dist/css'));
});
gulp.task('default', function(){
gulp.run('css');
});
package.json
{
"dependencies":{
"gulp":"*",
"gulp-less":"*"
},
"scripts":{
"build":"gulp"
}
}
Not able to reproduce. Node v0.11.8
from gulp.
Node version 0.10.21
from gulp.
Still works for me. Is your gulpfile any different? What OS are you on?
from gulp.
filename is Gulpfile.js
on case-insensitive file system OSX
from gulp.
I have yet to test with edge (2.0.1
) though.
from gulp.
Works now, great work!
from gulp.
Related Issues (20)
- Curly braces in glob without commas do not work HOT 2
- unlink not work HOT 2
- Dependency unset-value has a Prototype Pollution vulnerability
- Upgrade Gupl-cli version to 2.3.0 HOT 1
- gulp.src *.123456 vs *.1234567
- error TS2305: Module '"gulp"' has no exported member 'parallel' HOT 2
- Atualizacao Gulp Util
- gulp does not work if base path has brackets [ ] HOT 1
- Bump glob-watcher to 6.0.0
- Update glob-version to lates major version HOT 1
- Error: Cannot find module 'gulp-cli' HOT 2
- Bun support HOT 2
- Gulp 4: How do I prevent from duplicated dependent task execution? #1392 HOT 1
- Request to provide a more beginner-friendly tutorial on gulp website. HOT 1
- CVE-2020-2869
- Audit Vulnerability , security Report for "glob-parent" Package in `gulp` package
- 这个项目还维护吗
- Still using [email protected], which still uses [email protected] HOT 3
- gulp.dest() wrong path if foldername contains "*"
- Getting an error in yargs-parser after installing gulp
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.
from gulp.