Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Generated CSS/JS #40

Open
1 of 2 tasks
viktorix opened this issue Jan 18, 2023 · 2 comments
Open
1 of 2 tasks

Generated CSS/JS #40

viktorix opened this issue Jan 18, 2023 · 2 comments
Labels
question Further information is requested

Comments

@viktorix
Copy link
Member

viktorix commented Jan 18, 2023

As I'm removing minified files that will be generated during build, I noticed there are some directories with files that are missing from src directory in WP-CMS. They are most likely generated during build. This is a place to keep track of them:

  • \src\wp-includes\css\dist\
    • Inside, at least one directory and files are related to blocks customize-widgets
    • The other is components, which might be block related too.
  • \src\wp-includes\js
    • It's missing from WP-CMS src and is included in the release zip, but ClassicPress src does have it.
@viktorix viktorix added the question Further information is requested label Jan 18, 2023
@viktorix viktorix moved this to Issues: Discussion in ClassicPress v2.0 Jan 18, 2023
@viktorix
Copy link
Member Author

Removed \src\wp-includes\css\dist\ in PR #42, no errors were observed anywhere in my tests.

@mattyrob
Copy link
Collaborator

As part of this piece of work we also need to figure out what we need and what we can drop, from the extensive list of files that are built upstream in Gruntfile.js as well as all of the files here:

https://github.com/WordPress/wordpress-develop/tree/trunk/tools/webpack

We will also need to work out how we bundle and maintain the files we need to keep.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
No open projects
Status: Issues: Discussion
Development

No branches or pull requests

2 participants