@caweb/cli 1.14.8 → 1.14.9

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.
@@ -26,7 +26,7 @@ export default async function webpack({
26
26
  debug,
27
27
  scheme,
28
28
  template,
29
- noExternals
29
+ externals
30
30
  } ) {
31
31
  const webpackCommand = 'build' === process.argv[2] ? 'build' : 'serve' ;
32
32
 
@@ -36,7 +36,7 @@ export default async function webpack({
36
36
  // Since we use @wordpress/scripts webpack config we can leverage
37
37
  // the environment variables as well.
38
38
  process.env.WP_COPY_PHP_FILES_TO_DIST = true;
39
- process.env.WP_NO_EXTERNALS = noExternals;
39
+ process.env.WP_NO_EXTERNALS = externals;
40
40
 
41
41
  // add our default config as an extension.
42
42
  // users can overwrite any values by creating a webconfig of their own.
package/lib/cli.js CHANGED
@@ -50,8 +50,8 @@ function addWebpackCmds(){
50
50
  program.command('build')
51
51
  .description('Builds the current project.')
52
52
  .option(
53
- '--no-externals',
54
- 'Bundles all dependencies into the build, ignoring externals.',
53
+ '--externals',
54
+ 'Bundles all dependencies into the build including externals.',
55
55
  false
56
56
  )
57
57
  .allowUnknownOption(true)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caweb/cli",
3
- "version": "1.14.8",
3
+ "version": "1.14.9",
4
4
  "description": "CAWebPublishing Command Line Interface.",
5
5
  "exports": "./lib/env.js",
6
6
  "type": "module",