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)
- Gulp v5.0.0 png and jpg images not opening after transferring via gulp HOT 2
- v5: after updating gulp to version 5, jpg and png files are not readable after src-dest processing HOT 7
- Option no-sort doesn't seem to work on gulp 5.0.0 HOT 5
- Gulp v5.0.0 does not work if the root folder contains too many files (Works in Gulp v4.0.2) HOT 1
- Static files broken HOT 2
- Simple gulp copy garbles font files HOT 10
- PNG files are corrupted after Gulp upgrade to 5.0 HOT 7
- v5: Stuck in infinite loop in some cases HOT 3
- Gulp.src/gulp.dest does not copy images or fonts correctly in [email protected] HOT 3
- Gulp v5 corrupt font files HOT 5
- not support node22 HOT 1
- gulp imagemin task is not working properly for the v5.0.0 gulp HOT 2
- Test fail on the latest version HOT 3
- `Unhandled 'error' event` error in gulp 5 HOT 3
- Corruption of image files during migration or optimization HOT 31
- (node:7504) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time (Use `node --trace-warnings ...` to show where the warning was created)
- Upgrade from Gulp 4.0.2 to 5.0.0 with Node V20-LTS is missing bundled js files HOT 3
- TypeError: Unknown file extension ".ts" HOT 6
- src() doesn't work with wildcards (4.0.2 -> 5.0.0) HOT 6
- Pipeline errors are not properly handled in Gulp v5 HOT 1
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.