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

Use import manager less3 #18

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft

Conversation

aminya
Copy link
Contributor

@aminya aminya commented Jul 22, 2020

A combination of #17 and #11

This is not working.

throw error
else
parserTree = new less.ParseTree(rootNode, importManager)
{css} = parserTree.toCSS(options)
Copy link
Contributor Author

@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.

@matthew-dean do you know why this does not work? The css variable is null most of the time. Do we even need to use this parserTree to get the imports? Doesn't render function itself provide the imports (filenames and their css)?

You can run the tests by npm run test, and put console.log to check this.

@aminya aminya mentioned this pull request Jul 22, 2020
@aminya aminya mentioned this pull request Aug 29, 2020
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.

1 participant