diff --git a/mu-plugins/blocks/global-header-footer/postcss/common.css b/mu-plugins/blocks/global-header-footer/postcss/common.pcss similarity index 100% rename from mu-plugins/blocks/global-header-footer/postcss/common.css rename to mu-plugins/blocks/global-header-footer/postcss/common.pcss diff --git a/mu-plugins/blocks/global-header-footer/postcss/footer.css b/mu-plugins/blocks/global-header-footer/postcss/footer.pcss similarity index 100% rename from mu-plugins/blocks/global-header-footer/postcss/footer.css rename to mu-plugins/blocks/global-header-footer/postcss/footer.pcss diff --git a/mu-plugins/blocks/global-header-footer/postcss/header.css b/mu-plugins/blocks/global-header-footer/postcss/header.pcss similarity index 100% rename from mu-plugins/blocks/global-header-footer/postcss/header.css rename to mu-plugins/blocks/global-header-footer/postcss/header.pcss diff --git a/mu-plugins/blocks/global-header-footer/postcss/style.css b/mu-plugins/blocks/global-header-footer/postcss/style.css deleted file mode 100644 index b2bb9ab4c..000000000 --- a/mu-plugins/blocks/global-header-footer/postcss/style.css +++ /dev/null @@ -1,3 +0,0 @@ -@import "common.css"; -@import "header.css"; -@import "footer.css"; diff --git a/mu-plugins/blocks/global-header-footer/postcss/style.pcss b/mu-plugins/blocks/global-header-footer/postcss/style.pcss new file mode 100644 index 000000000..ff89ab9ee --- /dev/null +++ b/mu-plugins/blocks/global-header-footer/postcss/style.pcss @@ -0,0 +1,3 @@ +@import "common.pcss"; +@import "header.pcss"; +@import "footer.pcss"; diff --git a/package.json b/package.json index ec22035b8..92689802b 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,6 @@ "scripts": { "start": "npm run build -- --watch", "pre-build": "mkdir -p mu-plugins/blocks/global-header-footer/build", - "build": "npm run pre-build && postcss mu-plugins/blocks/global-header-footer/postcss/style.css --output mu-plugins/blocks/global-header-footer/build/style.css" + "build": "npm run pre-build && postcss mu-plugins/blocks/global-header-footer/postcss/style.pcss --output mu-plugins/blocks/global-header-footer/build/style.css" } }