Skip to content

Commit

Permalink
Bug fix for sourceMap options + docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Crowl committed Jun 12, 2017
1 parent 5386385 commit a678931
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@

**v1.4.4** (<small>June 2017</small>)
=============================================

## What's New
- New hook used for detecting file saves. This now allows you to compile when a file is not dirty, e.g. when only `@imports` have changed.
- Invoking `Compile Less to CSS` from the command palette now saves the file before compiling.

## Bug Fixes
- Fix for broken `sourceMap` option [#23](https://github.com/mrcrowl/vscode-easy-less/issues/23)

## Notice
- HT to [@CnSimonChan](https://github.com/CnSimonChan) for all of this month's work.

**v1.4.1-1.4.3** (<small>April 2017</small>)
=============================================

Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,5 +304,6 @@ Settings are read and applied in the following order:
# Acknowledgements

* Configuration concepts borrowed from [Jonathan Diehl's](#https://github.com/jdiehl) [brackets-less-autocompile](https://github.com/jdiehl/brackets-less-autocompile).
* [thecosss](https://github.com/thecosss), [pnkr](https://github.com/pnkr), [elvis-macak](https://github.com/elvis-macak), [ep-mark](https://github.com/ep-mark),
[icefrog](https://github.com/NateLing), [gprasanth](https://github.com/gprasanth), [yunfeizuo](https://github.com/yunfeizuo), [Tobyee](https://github.com/Tobyee), [sagive](https://github.com/sagive), [DifficultNick](https://github.com/DifficultNick), Alejandro L and Kenneth Davila
* Contributors: [CnSimonChan](https://github.com/CnSimonChan), [gprasanth](https://github.com/gprasanth), [elvis-macak](https://github.com/elvis-macak)
* Feedback/ideas: [thecosss](https://github.com/thecosss), [pnkr](https://github.com/pnkr), [ep-mark](https://github.com/ep-mark),
[icefrog](https://github.com/NateLing), , [yunfeizuo](https://github.com/yunfeizuo), [Tobyee](https://github.com/Tobyee), [sagive](https://github.com/sagive), [DifficultNick](https://github.com/DifficultNick), Alejandro L and Kenneth Davila
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "easy-less",
"displayName": "Easy LESS",
"description": "Auto-compile LESS to CSS on save",
"version": "1.4.3",
"version": "1.4.4",
"publisher": "mrcrowl",
"engines": {
"vscode": "^1.6.0"
Expand Down
2 changes: 1 addition & 1 deletion src/LessCompiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export async function compile(lessFile: string, content: string, defaults: Confi

const sourceMapOptions = <Less.SourceMapOption>{
outputSourceFiles: false,
sourceMapBasepath: "lessPath",
sourceMapBasepath: lessPath,
sourceMapFileInline: options.sourceMapFileInline,
sourceMapRootpath: lessRelativeToCss,
};
Expand Down

0 comments on commit a678931

Please sign in to comment.