Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Use less.ImportManager to determine files' dependencies #11

Closed
wants to merge 1 commit into from

Conversation

maxbrunsfeld
Copy link
Contributor

@maxbrunsfeld maxbrunsfeld commented Aug 23, 2016

⚠️ WIP ⚠️

This is a step towards making the less-cache's interface async and removing our use of the buggy less option syncImport.

Refs less/less.js#2953

Signed-off-by: Antonio Scandurra <as-cii@github.com>
imports = []
for filename, content of importManager.contents
if filename isnt filePath
imports.push({path: filename, digest: @digestForContent(content)})
Copy link
Contributor

@aminya aminya Jul 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a typo

Suggested change
imports.push({path: filename, digest: @digestForContent(content)})
imports.push({path: filename, digest: LessCache.digestForContent(content)})

@aminya aminya mentioned this pull request Jul 22, 2020
@maxbrunsfeld maxbrunsfeld deleted the mb-use-import-manager branch January 8, 2021 05:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants