@wordpress/build 0.3.1-next.dc3f6d3c1.0 → 0.4.1-next.8b30e05b0.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 +2 -0
- package/package.json +2 -2
- package/src/build.mjs +2 -0
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/build",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1-next.8b30e05b0.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": "
|
|
77
|
+
"gitHead": "2466f6bc223f8be98c55e1ac7270e8c3e413eaaf"
|
|
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(
|