prebundle 1.1.0-beta.7 → 1.2.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/README.md CHANGED
@@ -70,6 +70,22 @@ export default {
70
70
  };
71
71
  ```
72
72
 
73
+ ### dtsExternals
74
+
75
+ Externals for dts.
76
+
77
+ ```ts
78
+ // prebundle.config.mjs
79
+ export default {
80
+ dependencies: [
81
+ {
82
+ name: 'foo',
83
+ dtsExternals: ['webpack'],
84
+ },
85
+ ],
86
+ };
87
+ ```
88
+
73
89
  ### minify
74
90
 
75
91
  Whether to minify the code, default `false`.
@@ -185,3 +201,14 @@ export default {
185
201
  ],
186
202
  };
187
203
  ```
204
+
205
+ ### prettier
206
+
207
+ Whether to prettier the code and strip comments, default `false`.
208
+
209
+ ```ts
210
+ // prebundle.config.mjs
211
+ export default {
212
+ prettier: true,
213
+ };
214
+ ```