@storm-software/tsup 0.2.47 → 0.2.49
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 +9 -2
- package/dist/chunk-HIRRMOUH.js +72 -0
- package/dist/{chunk-FA5U2F7R.js → chunk-KXLK2RGG.js} +1 -1
- package/dist/{chunk-O6HASCZY.js → chunk-MQZ26YTP.js} +889 -179
- package/dist/{chunk-G4WJGK23.js → chunk-WGMAOE6K.js} +2 -2
- package/dist/constants.cjs +11 -662
- package/dist/constants.js +2 -2
- package/dist/index.cjs +79 -73
- package/dist/index.js +16 -16
- package/dist/options.cjs +14 -9
- package/dist/options.js +3 -3
- package/dist/types.js +2 -2
- package/package.json +4 -4
- package/dist/chunk-ZJARWMGO.js +0 -774
package/README.md
CHANGED
|
@@ -3,7 +3,13 @@
|
|
|
3
3
|
<!-- markdownlint-disable -->
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
<div align="center"
|
|
6
|
+
<div align="center">
|
|
7
|
+
<picture>
|
|
8
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x640-dark-optimized.gif">
|
|
9
|
+
<source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x640-light-optimized.gif">
|
|
10
|
+
<img src="https://public.storm-cdn.com/storm-software/banner-1280x640-dark-optimized.gif" width="100%" alt="Storm Software" />
|
|
11
|
+
</picture>
|
|
12
|
+
</div>
|
|
7
13
|
<br />
|
|
8
14
|
|
|
9
15
|
<div align="center">
|
|
@@ -21,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
27
|
|
|
22
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
29
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
31
|
|
|
26
32
|
<!-- prettier-ignore-start -->
|
|
27
33
|
<!-- markdownlint-disable -->
|
|
@@ -40,6 +46,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
40
46
|
|
|
41
47
|
<!-- START doctoc -->
|
|
42
48
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
49
|
+
|
|
43
50
|
## Table of Contents
|
|
44
51
|
|
|
45
52
|
- [Storm tsup build package](#storm-tsup-build-package)
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import {
|
|
2
|
+
init_esm_shims
|
|
3
|
+
} from "./chunk-WGMAOE6K.js";
|
|
4
|
+
|
|
5
|
+
// src/constants.ts
|
|
6
|
+
init_esm_shims();
|
|
7
|
+
|
|
8
|
+
// ../build-tools/dist/config.mjs
|
|
9
|
+
init_esm_shims();
|
|
10
|
+
|
|
11
|
+
// ../build-tools/dist/chunk-5M6M27NH.mjs
|
|
12
|
+
init_esm_shims();
|
|
13
|
+
var DEFAULT_JS_BANNER = `
|
|
14
|
+
// ---------------------------------------
|
|
15
|
+
// \u26A1 Built by Storm Software
|
|
16
|
+
// ---------------------------------------
|
|
17
|
+
`;
|
|
18
|
+
var DEFAULT_CSS_BANNER = `
|
|
19
|
+
/* ---------------------------------------
|
|
20
|
+
\u26A1 Built by Storm Software
|
|
21
|
+
--------------------------------------- */
|
|
22
|
+
`;
|
|
23
|
+
var DEFAULT_ENVIRONMENT = "production";
|
|
24
|
+
var DEFAULT_ORGANIZATION = "storm-software";
|
|
25
|
+
|
|
26
|
+
// src/constants.ts
|
|
27
|
+
var DEFAULT_BUILD_OPTIONS = {
|
|
28
|
+
platform: "node",
|
|
29
|
+
target: "node22",
|
|
30
|
+
format: "esm",
|
|
31
|
+
dts: true,
|
|
32
|
+
keepNames: true,
|
|
33
|
+
metafile: false,
|
|
34
|
+
treeshake: true,
|
|
35
|
+
splitting: true,
|
|
36
|
+
cjsInterop: true,
|
|
37
|
+
shims: false,
|
|
38
|
+
watch: false,
|
|
39
|
+
bundle: true,
|
|
40
|
+
clean: true,
|
|
41
|
+
loader: {
|
|
42
|
+
".aac": "file",
|
|
43
|
+
".css": "file",
|
|
44
|
+
".eot": "file",
|
|
45
|
+
".flac": "file",
|
|
46
|
+
".gif": "file",
|
|
47
|
+
".jpeg": "file",
|
|
48
|
+
".jpg": "file",
|
|
49
|
+
".mp3": "file",
|
|
50
|
+
".mp4": "file",
|
|
51
|
+
".ogg": "file",
|
|
52
|
+
".otf": "file",
|
|
53
|
+
".png": "file",
|
|
54
|
+
".svg": "file",
|
|
55
|
+
".ttf": "file",
|
|
56
|
+
".wav": "file",
|
|
57
|
+
".webm": "file",
|
|
58
|
+
".webp": "file",
|
|
59
|
+
".woff": "file",
|
|
60
|
+
".woff2": "file"
|
|
61
|
+
},
|
|
62
|
+
banner: {
|
|
63
|
+
js: DEFAULT_JS_BANNER,
|
|
64
|
+
css: DEFAULT_CSS_BANNER
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export {
|
|
69
|
+
DEFAULT_ENVIRONMENT,
|
|
70
|
+
DEFAULT_ORGANIZATION,
|
|
71
|
+
DEFAULT_BUILD_OPTIONS
|
|
72
|
+
};
|