Make WordPress Core

Opened 16 months ago

Closed 16 months ago

Last modified 16 months ago

#59197 closed defect (bug) (fixed)

`npm run build:dev` creates CSS files in the blocks folder of an SVN checkout.

Reported by: peterwilsoncc's profile peterwilsoncc Owned by: peterwilsoncc's profile peterwilsoncc
Milestone: 6.3.2 Priority: normal
Severity: normal Version: 6.3
Component: Editor Keywords:
Focuses: Cc:

Description (last modified by peterwilsoncc)

After running npm run build:dev on trunk and the 6.3 branch, a number of uncommitted CSS files are created that are not required for commit.

I think the props list for SVN needs to be updated to ignore the files. After running the command, svn status shows:

$ svn status
?       src/wp-includes/blocks/details/editor-rtl.css
?       src/wp-includes/blocks/details/editor-rtl.min.css
?       src/wp-includes/blocks/details/editor.css
?       src/wp-includes/blocks/details/editor.min.css
?       src/wp-includes/blocks/details/style-rtl.css
?       src/wp-includes/blocks/details/style-rtl.min.css
?       src/wp-includes/blocks/details/style.css
?       src/wp-includes/blocks/details/style.min.css
?       src/wp-includes/blocks/footnotes/style-rtl.css
?       src/wp-includes/blocks/footnotes/style-rtl.min.css
?       src/wp-includes/blocks/footnotes/style.css
?       src/wp-includes/blocks/footnotes/style.min.css

Change History (4)

#1 @peterwilsoncc
16 months ago

  • Milestone changed from Awaiting Review to 6.3.2

#2 @peterwilsoncc
16 months ago

  • Description modified (diff)
  • Owner set to peterwilsoncc
  • Status changed from new to assigned
  • Summary changed from `npm run grunt build:dev` creates CSS files in the blocks folder of an SVN checkout. to `npm run build:dev` creates CSS files in the blocks folder of an SVN checkout.

#3 @peterwilsoncc
16 months ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 56463:

Block Editor: Update SVN props to ignore new asset files.

Update svn props to ignore additional CSS files added to WordPress 6.3.

Fixes #59197.

#4 @peterwilsoncc
16 months ago

In 56465:

Block Editor: Update SVN props to ignore new asset files.

Update svn props to ignore additional CSS files added to WordPress 6.3.

Merges [56463] to the 6.3 branch.
Fixes #59197.

Note: See TracTickets for help on using tickets.