Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oroce/gulp-less-sourcemaps
how to generate sourcemaps using gulp and less
https://github.com/oroce/gulp-less-sourcemaps
Last synced: about 1 month ago
JSON representation
how to generate sourcemaps using gulp and less
- Host: GitHub
- URL: https://github.com/oroce/gulp-less-sourcemaps
- Owner: oroce
- Created: 2014-06-16T19:22:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-16T19:22:33.000Z (over 10 years ago)
- Last Synced: 2024-04-14T14:45:46.286Z (9 months ago)
- Language: JavaScript
- Size: 105 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Install
`npm install`
### Run
Run `npm start` which invokes `gulp less` (but it'll use the local version of [gulp](https://github.com/gulpjs/gulp)).
### Problem
Current version of [less](https://github.com/less/less.js) compiles source-map using [`encodeURIComponent`](https://github.com/less/less.js/blob/v1.7.1/lib/less/source-map-output.js#L130) and [`convert-source-map`](https://github.com/thlorenz/convert-source-map) (the sourcemap magic [gulp-sourcemaps](https://github.com/floridoo/gulp-sourcemaps)) only supports base64'd sourcemaps: https://github.com/thlorenz/convert-source-map/blob/f376d08b6955952b0106699a228bfae2bde16d79/index.js#L5
### BTW
In master branch of less this has been fixed, but hasnt been released yet.