We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0da826 commit 499f514Copy full SHA for 499f514
wasm-build/wordpress-data/prepare-wordpress.sh
@@ -49,7 +49,8 @@ find ./ -type f -name '*.woff' | xargs rm -r 2> /dev/null
49
find ./ -type f -name '*.wof2' | xargs rm -r 2> /dev/null
50
find ./ -type f -name '*.jpeg' | xargs rm -r 2> /dev/null
51
find ./ -type f -name '*.jpg' | xargs rm -r 2> /dev/null
52
-find ./ -type f -name '*.css' | xargs rm 2> /dev/null
+# Keep the theme style.css files, as they're read by PHP
53
+find ./ -type f -name '*.css' -not -path '*/wp-content/themes/*/style.css' | xargs rm 2> /dev/null
54
find ./ -type f -name '*.js' | xargs rm 2> /dev/null
55
56
# Remove whitespace from PHP files
0 commit comments