Skip to content

Builds broken following removal of design token css. #75933

@peterwilsoncc

Description

@peterwilsoncc

Description

In #75879 the file packages/theme/src/style.scss was deleted from the repository.

This caused the build to break without manual intervention due to incorrect dependencies.

The work around for this is to run git clean -fdx . after backing up your editor config files. The need for manual intervention indicates that the build is broken and isn't cleaning up after itself appropriately.

Step-by-step reproduction instructions

  1. Checkout bedcb4d
  2. Run nvm use; npm ci; npm run build
  3. Load the editor, observe it's all styled correctly
  4. Checkout trunk
  5. Run nvm use; npm ci; npm run build
  6. Load the editor, observe the lack of styles
  7. back up editor config files
  8. Run git clean -fdx .
  9. Run npm i; npm run build
  10. Observe the styles are loaded correctly

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

Labels

[Package] Theme/packages/theme[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended[Type] Build ToolingIssues or PRs related to build tooling

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions