Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy files #2

Open
Tracked by #1
erikyo opened this issue Jan 9, 2024 · 0 comments · May be fixed by #3
Open
Tracked by #1

Copy files #2

erikyo opened this issue Jan 9, 2024 · 0 comments · May be fixed by #3

Comments

@erikyo
Copy link
Collaborator

erikyo commented Jan 9, 2024

We need a plugin to copy the files (**.*.php and block.json) from the src folder to the dist folder.

Below the fragment of code used for webpack in wp-script about copy php files (the root is the src directory)

https://github.com/WordPress/gutenberg/blob/e079d899a584b104370dc8f0347200b4e9d6b330/packages/scripts/config/webpack.config.js#L363C1-L375C7

@erikyo erikyo changed the title copying PHP files Copy files Jan 10, 2024
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 a pull request may close this issue.

1 participant