You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would have expected the tool to manage less files that are imported by several different modules so that a particular less module would only be loaded once.
For instance: I have two components say fooView.js and barView.js. They both have corresponding .less files. Each one of those less files depends on fonts.less and so it is imported in both. Now the CSS from fonts.less is in two separate style tags in the DOM.
Is this expected, or am I doing something wrong?
The text was updated successfully, but these errors were encountered:
Deduping less dependencies is not supported in the current version of
lessify. I'd be happy to merge and publish a new version implementing the
optimization though!
I would have expected the tool to manage less files that are imported by
several different modules so that a particular less module would only be
loaded once.
For instance: I have two components say fooView.js and barView.js. They
both have corresponding .less files. Each one of those less files depends
on fonts.less and so it is imported in both. Now the CSS from fonts.less is
in two separate style tags in the DOM.
Is this expected, or am I doing something wrong?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub #9
I would have expected the tool to manage less files that are imported by several different modules so that a particular less module would only be loaded once.
For instance: I have two components say fooView.js and barView.js. They both have corresponding .less files. Each one of those less files depends on fonts.less and so it is imported in both. Now the CSS from fonts.less is in two separate style tags in the DOM.
Is this expected, or am I doing something wrong?
The text was updated successfully, but these errors were encountered: