@wordpress/build 0.3.1-next.dc3f6d3c1.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.4.0 (2025-11-26)
6
+
5
7
  ## 0.3.0 (2025-11-12)
6
8
 
7
9
  ## 0.2.0 (2025-10-29)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/build",
3
- "version": "0.3.1-next.dc3f6d3c1.0",
3
+ "version": "0.4.0",
4
4
  "description": "Build tool for WordPress plugins.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -74,5 +74,5 @@
74
74
  "publishConfig": {
75
75
  "access": "public"
76
76
  },
77
- "gitHead": "f73b5e69b34fbaccfb8c47783f4f993059ff1a41"
77
+ "gitHead": "b35cf1a2dce04665e99fd6b9c2891c0b336361b9"
78
78
  }
package/src/build.mjs CHANGED
@@ -52,6 +52,7 @@ const IGNORE_PATTERNS = [
52
52
  '**/*.native.*',
53
53
  '**/*.ios.*',
54
54
  '**/*.android.*',
55
+ '**/*.{spec,test}.*',
55
56
  ];
56
57
  const TEST_FILE_PATTERNS = [
57
58
  /\/(benchmark|__mocks__|__tests__|test|storybook|stories)\/.+/,
@@ -1605,6 +1606,7 @@ async function watchMode() {
1605
1606
  const script = fullToShort.get( fullScript );
1606
1607
  try {
1607
1608
  const rebundleStartTime = Date.now();
1609
+ await compileStyles( script );
1608
1610
  await bundlePackage( script );
1609
1611
  const rebundleTime = Date.now() - rebundleStartTime;
1610
1612
  console.log(