@wordpress-flow/cli 1.0.7 → 1.0.8
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.
|
@@ -2007,8 +2007,8 @@ async function runWebpackBuild(entryPoint, outputDir, webpackConfigPath) {
|
|
|
2007
2007
|
const command = `${webpackBinary} --config "${webpackConfigPath}" ${envString} --mode production`;
|
|
2008
2008
|
execSync(command, {
|
|
2009
2009
|
cwd: path.dirname(webpackConfigPath),
|
|
2010
|
-
|
|
2011
|
-
|
|
2010
|
+
stdio: "pipe",
|
|
2011
|
+
shell: process.platform === "win32" ? "cmd.exe" : "/bin/sh"
|
|
2012
2012
|
});
|
|
2013
2013
|
}
|
|
2014
2014
|
function findWebpackBinary() {
|
package/dist/index.js
CHANGED
|
@@ -115881,7 +115881,7 @@ add_action('enqueue_block_assets', 'wordpress_flow_enqueue_block_scripts');
|
|
|
115881
115881
|
// package.json
|
|
115882
115882
|
var package_default = {
|
|
115883
115883
|
name: "@wordpress-flow/cli",
|
|
115884
|
-
version: "1.0.
|
|
115884
|
+
version: "1.0.8",
|
|
115885
115885
|
type: "module",
|
|
115886
115886
|
description: "TypeScript-based WordPress block creation system",
|
|
115887
115887
|
main: "dist/index.js",
|
|
@@ -116440,9 +116440,9 @@ class WebpackRunner {
|
|
|
116440
116440
|
logger.debug(`Running webpack from directory: ${workingDir}`);
|
|
116441
116441
|
const output2 = execSync(command, {
|
|
116442
116442
|
cwd: workingDir,
|
|
116443
|
-
|
|
116444
|
-
|
|
116445
|
-
});
|
|
116443
|
+
stdio: "pipe",
|
|
116444
|
+
shell: process.platform === "win32" ? "cmd.exe" : "/bin/sh"
|
|
116445
|
+
}).toString();
|
|
116446
116446
|
logger.debug("Webpack build completed successfully");
|
|
116447
116447
|
logger.debug(`Output: ${output2}`);
|
|
116448
116448
|
} catch (error) {
|