prebundle 1.0.4 → 1.1.0-beta.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 +17 -1
- package/compiled/fast-glob/index.js +7270 -8
- package/compiled/fs-extra/index.d.ts +1 -996
- package/compiled/fs-extra/index.js +2818 -1
- package/compiled/fs-extra/package.json +1 -1
- package/compiled/rslog/index.d.ts +66 -0
- package/compiled/rslog/index.js +410 -0
- package/compiled/rslog/license +21 -0
- package/compiled/rslog/package.json +1 -0
- package/dist/helper.js +5 -4
- package/dist/prebundle.js +62 -27
- package/dist/types.d.ts +3 -0
- package/package.json +5 -2
- package/compiled/fs-extra/jsonfile/index.d.ts +0 -71
package/README.md
CHANGED
|
@@ -72,7 +72,7 @@ export default {
|
|
|
72
72
|
|
|
73
73
|
### minify
|
|
74
74
|
|
|
75
|
-
Whether to minify the code, default `
|
|
75
|
+
Whether to minify the code, default `false`.
|
|
76
76
|
|
|
77
77
|
```ts
|
|
78
78
|
// prebundle.config.mjs
|
|
@@ -169,3 +169,19 @@ export default {
|
|
|
169
169
|
],
|
|
170
170
|
};
|
|
171
171
|
```
|
|
172
|
+
|
|
173
|
+
### target
|
|
174
|
+
|
|
175
|
+
Target ECMAScript version, default `es2021`.
|
|
176
|
+
|
|
177
|
+
```ts
|
|
178
|
+
// prebundle.config.mjs
|
|
179
|
+
export default {
|
|
180
|
+
dependencies: [
|
|
181
|
+
{
|
|
182
|
+
name: 'foo',
|
|
183
|
+
target: 'es2015',
|
|
184
|
+
},
|
|
185
|
+
],
|
|
186
|
+
};
|
|
187
|
+
```
|