Skip to content

Commit

Permalink
Preserve the block-editor.js files in WordPress bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Oct 16, 2023
1 parent 57d986c commit d58b563
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/playground/compile-wordpress/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ RUN cd wordpress && \
find ./ -type f -name '*.js' \
-not -path '*/wp-includes/blocks/*/*.min.js' \
-not -name 'wp-emoji-loader.min.js' \
# This file is patched in JavaScript and needs to
# be served from VFS. See #703
-not -path '*/wp-includes/js/dist/block-editor*.js' \
-delete

RUN cd wordpress && \
Expand Down

0 comments on commit d58b563

Please sign in to comment.