@powerlines/nx 0.11.217 → 0.11.219

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.
Files changed (110) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/chunk-3BI2YVJ3.js +156 -0
  3. package/dist/{chunk-AQU4Y7TY.mjs → chunk-4KF5AUPD.mjs} +1 -1
  4. package/dist/chunk-4OMPO3GC.mjs +154 -0
  5. package/dist/{chunk-MMYSL52M.mjs → chunk-7EWOPOET.mjs} +220 -388
  6. package/dist/{chunk-JQZOWO7J.mjs → chunk-FIOTA3DI.mjs} +1 -1
  7. package/dist/chunk-FSGRYCTL.js +281 -0
  8. package/dist/{chunk-UWZA4FE6.mjs → chunk-GB6SETBZ.mjs} +1 -1
  9. package/dist/{chunk-2YJP4HRC.mjs → chunk-GCIPEE4T.mjs} +7 -7
  10. package/dist/{chunk-WJP3FWAH.js → chunk-GJ62I4AV.js} +2 -2
  11. package/dist/chunk-HNRM52ID.js +374 -0
  12. package/dist/chunk-IA3YWWWC.mjs +366 -0
  13. package/dist/{chunk-VSMLSWBT.js → chunk-IOBDAGVL.js} +8 -8
  14. package/dist/chunk-JL4HQ7ZD.mjs +260 -0
  15. package/dist/{chunk-5XND6U2P.js → chunk-K6HPKAIP.js} +2 -2
  16. package/dist/{chunk-TL367T24.js → chunk-KAY4UTGV.js} +2 -2
  17. package/dist/{chunk-2OUVFH73.js → chunk-MYNOF2F6.js} +2 -2
  18. package/dist/{chunk-5QDW5A4Z.js → chunk-QA32JCA6.js} +2 -2
  19. package/dist/{chunk-ELBUYWVF.mjs → chunk-QN6ZKFPV.mjs} +1 -1
  20. package/dist/{chunk-BUUW4BAS.mjs → chunk-RLKRZBG3.mjs} +2 -2
  21. package/dist/{chunk-C4XEVBMI.mjs → chunk-ULCS2R4D.mjs} +1 -1
  22. package/dist/{chunk-QJE3HWRQ.js → chunk-WXALQB3J.js} +3 -3
  23. package/dist/{chunk-BM4NZS6T.js → chunk-ZODDB4GG.js} +244 -412
  24. package/dist/{executor-Bb8vGV8C.d.ts → executor-AQVlPFta.d.ts} +90 -19
  25. package/dist/{executor-CQzw0-So.d.mts → executor-BNmIhtpF.d.mts} +90 -19
  26. package/dist/{executor-DwTFXSVb.d.mts → executor-C0A5mFLO.d.mts} +74 -19
  27. package/dist/{executor-u-vw0Uzf.d.mts → executor-Cep8-Y3A.d.mts} +90 -19
  28. package/dist/{executor-DY7vA66P.d.ts → executor-CkyahICv.d.ts} +74 -19
  29. package/dist/{executor-C2WSCUOW.d.ts → executor-DOsxw-Ih.d.ts} +90 -19
  30. package/dist/{executor-C5rCem7d.d.ts → executor-DUQbjUVt.d.ts} +90 -19
  31. package/dist/{executor-C9MI57kJ.d.ts → executor-O3MDQSFT.d.ts} +90 -19
  32. package/dist/{executor-fccJAIjg.d.mts → executor-U4mVkhQK.d.mts} +90 -19
  33. package/dist/{executor-DXaEo8YG.d.mts → executor-Xt5qNzC5.d.mts} +90 -19
  34. package/dist/executors.d.mts +5 -6
  35. package/dist/executors.d.ts +5 -6
  36. package/dist/executors.js +12 -12
  37. package/dist/executors.mjs +7 -7
  38. package/dist/index.d.mts +5 -6
  39. package/dist/index.d.ts +5 -6
  40. package/dist/index.js +15 -15
  41. package/dist/index.mjs +9 -9
  42. package/dist/src/base/base-executor.d.mts +1 -2
  43. package/dist/src/base/base-executor.d.ts +1 -2
  44. package/dist/src/base/base-executor.js +3 -3
  45. package/dist/src/base/base-executor.mjs +2 -2
  46. package/dist/src/base/base-executor.schema.d.d.mts +74 -19
  47. package/dist/src/base/base-executor.schema.d.d.ts +74 -19
  48. package/dist/src/base/base-executor.schema.d.ts +74 -19
  49. package/dist/src/base/base-executor.schema.json +108 -26
  50. package/dist/src/base/base-executor.untyped.js +2 -2
  51. package/dist/src/base/base-executor.untyped.mjs +1 -1
  52. package/dist/src/executors/build/executor.d.mts +1 -2
  53. package/dist/src/executors/build/executor.d.ts +1 -2
  54. package/dist/src/executors/build/executor.js +5 -5
  55. package/dist/src/executors/build/executor.mjs +3 -3
  56. package/dist/src/executors/build/schema.d.ts +90 -19
  57. package/dist/src/executors/build/schema.json +119 -25
  58. package/dist/src/executors/build/untyped.js +3 -3
  59. package/dist/src/executors/build/untyped.mjs +2 -2
  60. package/dist/src/executors/clean/executor.d.mts +1 -2
  61. package/dist/src/executors/clean/executor.d.ts +1 -2
  62. package/dist/src/executors/clean/executor.js +5 -5
  63. package/dist/src/executors/clean/executor.mjs +3 -3
  64. package/dist/src/executors/clean/schema.d.ts +74 -19
  65. package/dist/src/executors/clean/schema.json +108 -26
  66. package/dist/src/executors/clean/untyped.js +2 -2
  67. package/dist/src/executors/clean/untyped.mjs +1 -1
  68. package/dist/src/executors/docs/executor.d.mts +1 -2
  69. package/dist/src/executors/docs/executor.d.ts +1 -2
  70. package/dist/src/executors/docs/executor.js +5 -5
  71. package/dist/src/executors/docs/executor.mjs +3 -3
  72. package/dist/src/executors/docs/schema.d.ts +90 -19
  73. package/dist/src/executors/docs/schema.json +120 -26
  74. package/dist/src/executors/docs/untyped.js +3 -3
  75. package/dist/src/executors/docs/untyped.mjs +2 -2
  76. package/dist/src/executors/lint/executor.d.mts +1 -2
  77. package/dist/src/executors/lint/executor.d.ts +1 -2
  78. package/dist/src/executors/lint/executor.js +5 -5
  79. package/dist/src/executors/lint/executor.mjs +3 -3
  80. package/dist/src/executors/lint/schema.d.ts +90 -19
  81. package/dist/src/executors/lint/schema.json +120 -26
  82. package/dist/src/executors/lint/untyped.js +3 -3
  83. package/dist/src/executors/lint/untyped.mjs +2 -2
  84. package/dist/src/executors/prepare/executor.d.mts +1 -2
  85. package/dist/src/executors/prepare/executor.d.ts +1 -2
  86. package/dist/src/executors/prepare/executor.js +5 -5
  87. package/dist/src/executors/prepare/executor.mjs +3 -3
  88. package/dist/src/executors/prepare/schema.d.ts +90 -19
  89. package/dist/src/executors/prepare/schema.json +120 -26
  90. package/dist/src/executors/prepare/untyped.js +3 -3
  91. package/dist/src/executors/prepare/untyped.mjs +2 -2
  92. package/dist/src/helpers/plugin-utilities.d.mts +1 -1
  93. package/dist/src/helpers/plugin-utilities.d.ts +1 -1
  94. package/dist/src/helpers/plugin-utilities.js +5 -5
  95. package/dist/src/helpers/plugin-utilities.mjs +2 -2
  96. package/dist/src/plugin/index.js +4 -4
  97. package/dist/src/plugin/index.mjs +3 -3
  98. package/docs/api/base-executor.schema.md +71 -19
  99. package/docs/api/build/schema.md +89 -19
  100. package/docs/api/clean/schema.md +71 -19
  101. package/docs/api/docs/schema.md +89 -19
  102. package/docs/api/lint/schema.md +89 -19
  103. package/docs/api/prepare/schema.md +89 -19
  104. package/package.json +11 -11
  105. package/dist/chunk-AGZ4P3AS.mjs +0 -87
  106. package/dist/chunk-IR6TAW72.js +0 -81
  107. package/dist/chunk-NU3VTAH5.js +0 -98
  108. package/dist/chunk-TWOXCXFE.js +0 -364
  109. package/dist/chunk-XXWF7X5C.mjs +0 -75
  110. package/dist/chunk-ZYOL33SX.mjs +0 -356
@@ -4,28 +4,103 @@
4
4
  "description": "A type definition for the Powerlines - Prepare executor schema",
5
5
  "required": [],
6
6
  "properties": {
7
- "outputPath": {
8
- "title": "Output Path",
7
+ "configFile": {
8
+ "title": "Powerlines Configuration File",
9
9
  "type": "string",
10
10
  "format": "path",
11
- "description": "The output path for the build",
12
- "id": "#outputPath",
13
- "default": "dist/{projectRoot}"
11
+ "description": "The path to the Powerlines configuration file",
12
+ "id": "#configFile",
13
+ "default": "{projectRoot}/powerlines.config.ts"
14
+ },
15
+ "input": {
16
+ "title": "Input Entry File(s)",
17
+ "format": "path",
18
+ "type": "array",
19
+ "description": "The entry file(s) that serve as the input for the project",
20
+ "items": {
21
+ "type": "string"
22
+ },
23
+ "id": "#input",
24
+ "default": [
25
+ "{sourceRoot}/index.ts"
26
+ ]
14
27
  },
15
28
  "tsconfig": {
16
- "title": "TypeScript Configuration File",
29
+ "title": "TSConfig Path",
17
30
  "type": "string",
18
31
  "format": "path",
19
32
  "description": "The path to the tsconfig file",
20
- "id": "#tsconfig"
33
+ "id": "#tsconfig",
34
+ "default": "{projectRoot}/tsconfig.json"
21
35
  },
22
- "configFile": {
23
- "title": "Powerlines Configuration File",
36
+ "outputPath": {
37
+ "title": "Output Path",
24
38
  "type": "string",
25
39
  "format": "path",
26
- "description": "The path to the Powerlines configuration file",
27
- "id": "#configFile",
28
- "default": "{projectRoot}/powerlines.config.ts"
40
+ "description": "The path to the output directory for the build artifacts",
41
+ "id": "#outputPath"
42
+ },
43
+ "sourceMap": {
44
+ "title": "Sourcemap",
45
+ "type": "boolean",
46
+ "description": "Generate a sourcemap",
47
+ "id": "#sourceMap"
48
+ },
49
+ "format": {
50
+ "title": "Format",
51
+ "type": "array",
52
+ "description": "The format to build",
53
+ "items": {
54
+ "type": "string",
55
+ "enum": [
56
+ "cjs",
57
+ "esm",
58
+ "iife"
59
+ ]
60
+ },
61
+ "id": "#format",
62
+ "default": [
63
+ "cjs",
64
+ "esm"
65
+ ]
66
+ },
67
+ "platform": {
68
+ "title": "Platform",
69
+ "type": "string",
70
+ "description": "The platform to build",
71
+ "enum": [
72
+ "neutral",
73
+ "node",
74
+ "browser"
75
+ ],
76
+ "id": "#platform",
77
+ "default": "neutral"
78
+ },
79
+ "external": {
80
+ "title": "External",
81
+ "type": "array",
82
+ "description": "The external dependencies",
83
+ "id": "#external",
84
+ "default": [],
85
+ "items": {
86
+ "type": "any"
87
+ }
88
+ },
89
+ "noExternal": {
90
+ "title": "No External",
91
+ "type": "array",
92
+ "description": "The dependencies that should not be treated as external",
93
+ "id": "#noExternal",
94
+ "default": [],
95
+ "items": {
96
+ "type": "any"
97
+ }
98
+ },
99
+ "skipNodeModulesBundle": {
100
+ "title": "Skip Node Modules Bundle",
101
+ "type": "boolean",
102
+ "description": "Skip bundling node_modules during the build process (if required)",
103
+ "id": "#skipNodeModulesBundle"
29
104
  },
30
105
  "mode": {
31
106
  "title": "Mode",
@@ -38,18 +113,6 @@
38
113
  ],
39
114
  "id": "#mode"
40
115
  },
41
- "autoInstall": {
42
- "title": "Auto Install",
43
- "type": "boolean",
44
- "description": "Automatically install dependencies before building",
45
- "id": "#autoInstall"
46
- },
47
- "skipCache": {
48
- "title": "Skip Cache",
49
- "type": "boolean",
50
- "description": "Skip the cache when building",
51
- "id": "#skipCache"
52
- },
53
116
  "logLevel": {
54
117
  "title": "Log Level",
55
118
  "type": "string",
@@ -65,11 +128,42 @@
65
128
  "silent"
66
129
  ],
67
130
  "id": "#logLevel"
131
+ },
132
+ "define": {
133
+ "title": "Define",
134
+ "type": "object",
135
+ "tsType": "Record<string, string>",
136
+ "description": "The `define` values",
137
+ "id": "#define",
138
+ "default": {}
139
+ },
140
+ "autoInstall": {
141
+ "title": "Auto Install",
142
+ "type": "boolean",
143
+ "description": "Automatically install dependencies during prepare stage",
144
+ "id": "#autoInstall"
145
+ },
146
+ "skipCache": {
147
+ "title": "Skip Cache",
148
+ "type": "boolean",
149
+ "description": "Skip the caching mechanism during the build process (if required)",
150
+ "id": "#skipCache"
68
151
  }
69
152
  },
70
153
  "type": "object",
71
154
  "default": {
72
- "outputPath": "dist/{projectRoot}",
73
- "configFile": "{projectRoot}/powerlines.config.ts"
155
+ "configFile": "{projectRoot}/powerlines.config.ts",
156
+ "input": [
157
+ "{sourceRoot}/index.ts"
158
+ ],
159
+ "tsconfig": "{projectRoot}/tsconfig.json",
160
+ "format": [
161
+ "cjs",
162
+ "esm"
163
+ ],
164
+ "platform": "neutral",
165
+ "external": [],
166
+ "noExternal": [],
167
+ "define": {}
74
168
  }
75
169
  }
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkVSMLSWBT_js = require('../../../chunk-VSMLSWBT.js');
4
- require('../../../chunk-IR6TAW72.js');
3
+ var chunkIOBDAGVL_js = require('../../../chunk-IOBDAGVL.js');
4
+ require('../../../chunk-3BI2YVJ3.js');
5
5
  require('../../../chunk-SHUYVCID.js');
6
6
 
7
7
 
8
8
 
9
- module.exports = chunkVSMLSWBT_js.untyped_default;
9
+ module.exports = chunkIOBDAGVL_js.untyped_default;
10
10
 
11
11
  module.exports = exports.default;
@@ -1,3 +1,3 @@
1
- export { untyped_default as default } from '../../../chunk-2YJP4HRC.mjs';
2
- import '../../../chunk-XXWF7X5C.mjs';
1
+ export { untyped_default as default } from '../../../chunk-GCIPEE4T.mjs';
2
+ import '../../../chunk-4OMPO3GC.mjs';
3
3
  import '../../../chunk-O6YSETKJ.mjs';
@@ -51,7 +51,7 @@ interface CreateNxPluginOptions {
51
51
  *
52
52
  * @defaultValue false
53
53
  */
54
- verbose?: boolean;
54
+ verboseOutput?: boolean;
55
55
  }
56
56
  /**
57
57
  * Creates an Nx plugin that integrates Powerlines into the Nx build process.
@@ -51,7 +51,7 @@ interface CreateNxPluginOptions {
51
51
  *
52
52
  * @defaultValue false
53
53
  */
54
- verbose?: boolean;
54
+ verboseOutput?: boolean;
55
55
  }
56
56
  /**
57
57
  * Creates an Nx plugin that integrates Powerlines into the Nx build process.
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkTWOXCXFE_js = require('../../chunk-TWOXCXFE.js');
4
- require('../../chunk-NU3VTAH5.js');
3
+ var chunkHNRM52ID_js = require('../../chunk-HNRM52ID.js');
4
+ require('../../chunk-FSGRYCTL.js');
5
5
  require('../../chunk-IQVSZEQ6.js');
6
6
  require('../../chunk-SHUYVCID.js');
7
7
 
@@ -9,13 +9,13 @@ require('../../chunk-SHUYVCID.js');
9
9
 
10
10
  Object.defineProperty(exports, "createNxPlugin", {
11
11
  enumerable: true,
12
- get: function () { return chunkTWOXCXFE_js.createNxPlugin; }
12
+ get: function () { return chunkHNRM52ID_js.createNxPlugin; }
13
13
  });
14
14
  Object.defineProperty(exports, "getNxPluginInputs", {
15
15
  enumerable: true,
16
- get: function () { return chunkTWOXCXFE_js.getNxPluginInputs; }
16
+ get: function () { return chunkHNRM52ID_js.getNxPluginInputs; }
17
17
  });
18
18
  Object.defineProperty(exports, "getNxTargetInputs", {
19
19
  enumerable: true,
20
- get: function () { return chunkTWOXCXFE_js.getNxTargetInputs; }
20
+ get: function () { return chunkHNRM52ID_js.getNxTargetInputs; }
21
21
  });
@@ -1,4 +1,4 @@
1
- export { createNxPlugin, getNxPluginInputs, getNxTargetInputs } from '../../chunk-ZYOL33SX.mjs';
2
- import '../../chunk-AGZ4P3AS.mjs';
1
+ export { createNxPlugin, getNxPluginInputs, getNxTargetInputs } from '../../chunk-IA3YWWWC.mjs';
2
+ import '../../chunk-JL4HQ7ZD.mjs';
3
3
  import '../../chunk-IC47MFKB.mjs';
4
4
  import '../../chunk-O6YSETKJ.mjs';
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkWJP3FWAH_js = require('../../chunk-WJP3FWAH.js');
4
- require('../../chunk-TWOXCXFE.js');
5
- require('../../chunk-NU3VTAH5.js');
3
+ var chunkGJ62I4AV_js = require('../../chunk-GJ62I4AV.js');
4
+ require('../../chunk-HNRM52ID.js');
5
+ require('../../chunk-FSGRYCTL.js');
6
6
  require('../../chunk-IQVSZEQ6.js');
7
7
  require('../../chunk-SHUYVCID.js');
8
8
 
@@ -10,5 +10,5 @@ require('../../chunk-SHUYVCID.js');
10
10
 
11
11
  Object.defineProperty(exports, "createNodesV2", {
12
12
  enumerable: true,
13
- get: function () { return chunkWJP3FWAH_js.createNodesV2; }
13
+ get: function () { return chunkGJ62I4AV_js.createNodesV2; }
14
14
  });
@@ -1,5 +1,5 @@
1
- export { createNodesV2 } from '../../chunk-ELBUYWVF.mjs';
2
- import '../../chunk-ZYOL33SX.mjs';
3
- import '../../chunk-AGZ4P3AS.mjs';
1
+ export { createNodesV2 } from '../../chunk-QN6ZKFPV.mjs';
2
+ import '../../chunk-IA3YWWWC.mjs';
3
+ import '../../chunk-JL4HQ7ZD.mjs';
4
4
  import '../../chunk-IC47MFKB.mjs';
5
5
  import '../../chunk-O6YSETKJ.mjs';
@@ -4,60 +4,110 @@
4
4
 
5
5
  # Base Executor
6
6
 
7
- ## `outputPath`
7
+ ## `configFile`
8
8
  - **Type**: `string`
9
- - **Default**: `"dist/{projectRoot}"`
9
+ - **Default**: `"{projectRoot}/powerlines.config.ts"`
10
+
11
+ > Powerlines Configuration File
10
12
 
11
- > Output Path
12
13
 
14
+ The path to the Powerlines configuration file
15
+
16
+
17
+ ## `input`
18
+ - **Type**: `array`
19
+ - **Default**: `["{sourceRoot}/index.ts"]`
13
20
 
14
- The output path for the build
21
+ > Input Entry File(s)
22
+
23
+
24
+ The entry file(s) that serve as the input for the project
15
25
 
16
26
 
17
27
  ## `tsconfig`
18
28
  - **Type**: `string`
29
+ - **Default**: `"{projectRoot}/tsconfig.json"`
19
30
 
20
- > TypeScript Configuration File
31
+ > TSConfig Path
21
32
 
22
33
 
23
34
  The path to the tsconfig file
24
35
 
25
36
 
26
- ## `configFile`
37
+ ## `outputPath`
27
38
  - **Type**: `string`
28
- - **Default**: `"{projectRoot}/powerlines.config.ts"`
29
39
 
30
- > Powerlines Configuration File
40
+ > Output Path
31
41
 
32
42
 
33
- The path to the Powerlines configuration file
43
+ The path to the output directory for the build artifacts
34
44
 
35
45
 
36
- ## `mode`
46
+ ## `sourceMap`
47
+ - **Type**: `boolean`
48
+
49
+ > Sourcemap
50
+
51
+
52
+ Generate a sourcemap
53
+
54
+
55
+ ## `format`
56
+ - **Type**: `array`
57
+ - **Default**: `["cjs","esm"]`
58
+
59
+ > Format
60
+
61
+
62
+ The format to build
63
+
64
+
65
+ ## `platform`
37
66
  - **Type**: `string`
67
+ - **Default**: `"neutral"`
38
68
 
39
- > Mode
69
+ > Platform
40
70
 
41
71
 
42
- The build mode
72
+ The platform to build
43
73
 
44
74
 
45
- ## `autoInstall`
46
- - **Type**: `boolean`
75
+ ## `external`
76
+ - **Type**: `array`
77
+ - **Default**: `[]`
78
+
79
+ > External
80
+
81
+
82
+ The external dependencies
83
+
47
84
 
48
- > Auto Install
85
+ ## `noExternal`
86
+ - **Type**: `array`
87
+ - **Default**: `[]`
49
88
 
89
+ > No External
50
90
 
51
- Automatically install dependencies during prepare stage
52
91
 
92
+ The dependencies that should not be treated as external
53
93
 
54
- ## `skipCache`
94
+
95
+ ## `skipNodeModulesBundle`
55
96
  - **Type**: `boolean`
56
97
 
57
- > Skip Cache
98
+ > Skip Node Modules Bundle
99
+
100
+
101
+ Skip bundling node_modules during the build process (if required)
58
102
 
59
103
 
60
- Skip the caching mechanism during the build process (if required)
104
+ ## `mode`
105
+ - **Type**: `string`
106
+
107
+ > Mode
108
+
109
+
110
+ The build mode
61
111
 
62
112
 
63
113
  ## `logLevel`
@@ -69,3 +119,5 @@ Skip the caching mechanism during the build process (if required)
69
119
  The log level to use for the build process
70
120
 
71
121
 
122
+ ## `define`
123
+
@@ -4,60 +4,110 @@
4
4
 
5
5
  # Build Executor
6
6
 
7
- ## `outputPath`
7
+ ## `configFile`
8
8
  - **Type**: `string`
9
- - **Default**: `"dist/{projectRoot}"`
9
+ - **Default**: `"{projectRoot}/powerlines.config.ts"`
10
+
11
+ > Powerlines Configuration File
12
+
13
+
14
+ The path to the Powerlines configuration file
10
15
 
11
- > Output Path
12
16
 
17
+ ## `input`
18
+ - **Type**: `array`
19
+ - **Default**: `["{sourceRoot}/index.ts"]`
13
20
 
14
- The output path for the build
21
+ > Input Entry File(s)
22
+
23
+
24
+ The entry file(s) that serve as the input for the project
15
25
 
16
26
 
17
27
  ## `tsconfig`
18
28
  - **Type**: `string`
29
+ - **Default**: `"{projectRoot}/tsconfig.json"`
19
30
 
20
- > TypeScript Configuration File
31
+ > TSConfig Path
21
32
 
22
33
 
23
34
  The path to the tsconfig file
24
35
 
25
36
 
26
- ## `configFile`
37
+ ## `outputPath`
27
38
  - **Type**: `string`
28
- - **Default**: `"{projectRoot}/powerlines.config.ts"`
29
39
 
30
- > Powerlines Configuration File
40
+ > Output Path
31
41
 
32
42
 
33
- The path to the Powerlines configuration file
43
+ The path to the output directory for the build artifacts
34
44
 
35
45
 
36
- ## `mode`
46
+ ## `sourceMap`
47
+ - **Type**: `boolean`
48
+
49
+ > Sourcemap
50
+
51
+
52
+ Generate a sourcemap
53
+
54
+
55
+ ## `format`
56
+ - **Type**: `array`
57
+ - **Default**: `["cjs","esm"]`
58
+
59
+ > Format
60
+
61
+
62
+ The format to build
63
+
64
+
65
+ ## `platform`
37
66
  - **Type**: `string`
67
+ - **Default**: `"neutral"`
38
68
 
39
- > Mode
69
+ > Platform
40
70
 
41
71
 
42
- The build mode
72
+ The platform to build
43
73
 
44
74
 
45
- ## `autoInstall`
46
- - **Type**: `boolean`
75
+ ## `external`
76
+ - **Type**: `array`
77
+ - **Default**: `[]`
47
78
 
48
- > Auto Install
79
+ > External
49
80
 
50
81
 
51
- Automatically install dependencies before building
82
+ The external dependencies
52
83
 
53
84
 
54
- ## `skipCache`
85
+ ## `noExternal`
86
+ - **Type**: `array`
87
+ - **Default**: `[]`
88
+
89
+ > No External
90
+
91
+
92
+ The dependencies that should not be treated as external
93
+
94
+
95
+ ## `skipNodeModulesBundle`
55
96
  - **Type**: `boolean`
56
97
 
57
- > Skip Cache
98
+ > Skip Node Modules Bundle
58
99
 
59
100
 
60
- Skip the cache when building
101
+ Skip bundling node_modules during the build process (if required)
102
+
103
+
104
+ ## `mode`
105
+ - **Type**: `string`
106
+
107
+ > Mode
108
+
109
+
110
+ The build mode
61
111
 
62
112
 
63
113
  ## `logLevel`
@@ -69,6 +119,26 @@ Skip the cache when building
69
119
  The log level to use for the build process
70
120
 
71
121
 
122
+ ## `define`
123
+
124
+ ## `autoInstall`
125
+ - **Type**: `boolean`
126
+
127
+ > Auto Install
128
+
129
+
130
+ Automatically install dependencies during prepare stage
131
+
132
+
133
+ ## `skipCache`
134
+ - **Type**: `boolean`
135
+
136
+ > Skip Cache
137
+
138
+
139
+ Skip the caching mechanism during the build process (if required)
140
+
141
+
72
142
  ## `entry`
73
143
  - **Type**: `any`
74
144
  - **Default**: `{}`