Skip to content

NXT-15922: Fix less -> css transpile issue while 'enact transpile'#388

Open
hong6316 wants to merge 2 commits into
developfrom
feature/NXT-15922
Open

NXT-15922: Fix less -> css transpile issue while 'enact transpile'#388
hong6316 wants to merge 2 commits into
developfrom
feature/NXT-15922

Conversation

@hong6316

@hong6316 hong6316 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Checklist

  • I have read and understand the contribution guide
  • A CHANGELOG entry is included
  • At least one test case is included for this feature or bug fix
  • Documentation was added or is not needed
  • This is an API breaking change

Issue Resolved / Feature Added

Fix less -> css transpile issue while enact transpile

Reproduction steps

//0. use cli 7.3.2
$ npm i -g @enact/cli@7.3.2

//1. create an sample app
$ enact create myapp

//2. use Panels, Panel in the sample app
$ vi ...

//3. enact pack/serve and check css files
$ enact pack && enact serve

Expect: css looks fine, and panel works fine.
Actual: css looks weird, and panel not works
※ It cannot be reproduced when linking limestone directly, just npm install @enact/limestone cases
※ If you intend to link, you can reproduce the issue by running enact transpile on Limestone first.

Resolution

Fixed an issue where information was missing from CSS files when executing the enact transpile command in Limestone,
by injecting monkey-patch at LessPluginRi.prototype.install in transpile.js
-> Fall-throughing calc()+var() pattern

Additional Considerations

Links

NXT-15922

Comments

Enact-DCO-1.0-Signed-off-by: Taeyoung Hong (taeyoung.hong@lge.com)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant