Skip to content

Commit

Permalink
Include inputFile.getArch() in LessCompiler cache key.
Browse files Browse the repository at this point in the history
Similar to this CachedCoffeeScriptCompiler change:
620689f
  • Loading branch information
benjamn committed Jan 21, 2018
1 parent 7678c46 commit 8cadd4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/less/package.js
@@ -1,6 +1,6 @@
Package.describe({
name: 'less',
version: '2.7.11',
version: '2.7.12',
summary: 'Leaner CSS language',
documentation: 'README.md'
});
Expand Down
5 changes: 4 additions & 1 deletion packages/less/plugin/compile-less.js
Expand Up @@ -19,7 +19,10 @@ class LessCompiler extends MultiFileCachingCompiler {
}

getCacheKey(inputFile) {
return inputFile.getSourceHash();
return [
inputFile.getArch(),
inputFile.getSourceHash(),
];
}

compileResultSize(compileResult) {
Expand Down

0 comments on commit 8cadd4e

Please sign in to comment.