alphagov / alphagov/tech-docs-gem
[Enhancement]: Migrate from @import to @use
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 16
- Forks
- 47
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 14
Description
What should change?
Gov.uk frontend is planning to remove support for the @import syntax. We need to make sure we are ready ahead of time otherwise future.
- Run dart sass
- do the migration
User need
No response
Proposed solution
switch @import to be @use .... as *
add with keyword
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by running Dart Sass and locate the project's uses of @import; migrate them to @use, including the proposed as * form and any required with configuration. Done means the Sass build succeeds without the deprecated syntax and the existing frontend output remains valid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sass
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100