@edgeone/vite-core 1.0.8 → 1.0.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.
- package/README.md +13 -0
- package/dist/constants.d.ts +12 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +29 -0
- package/dist/constants.js.map +1 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# @edgeone/vite-core
|
|
2
|
+
|
|
3
|
+
Core adapter plugin for EdgeOne platform - handles build artifacts, bundling, and deployment configuration for [EdgeOne Pages](https://pages.edgeone.ai/).
|
|
4
|
+
|
|
5
|
+
## Support
|
|
6
|
+
|
|
7
|
+
- Get help in the [EdgeOne Pages Discord](https://discord.com/invite/KpdcJ8xbq6).
|
|
8
|
+
|
|
9
|
+
- Check our [Product Introduction](https://pages.edgeone.ai/document/product-introduction) for more on integrations.
|
|
10
|
+
|
|
11
|
+
## License
|
|
12
|
+
|
|
13
|
+
MIT
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EdgeOne Vite Plugin - Shared Constants
|
|
3
|
+
*/
|
|
4
|
+
/** Server entry file candidates for auto-detection */
|
|
5
|
+
export declare const SERVER_ENTRY_CANDIDATES: readonly ["server.js", "server.mjs", "index.js", "index.mjs", "entry.js", "entry.mjs", "entry-server.js", "entry-server.mjs"];
|
|
6
|
+
/** Client build directory candidates */
|
|
7
|
+
export declare const DEFAULT_CLIENT_BUILD_DIRS: readonly ["dist/client", "dist", "build/client", "build"];
|
|
8
|
+
/** Server build directory candidates */
|
|
9
|
+
export declare const DEFAULT_SERVER_BUILD_DIRS: readonly ["dist/server", "build/server"];
|
|
10
|
+
/** Default EdgeOne output directory */
|
|
11
|
+
export declare const EDGEONE_OUTPUT_DIR = ".edgeone";
|
|
12
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,sDAAsD;AACtD,eAAO,MAAM,uBAAuB,+HAS1B,CAAC;AAEX,wCAAwC;AACxC,eAAO,MAAM,yBAAyB,2DAK5B,CAAC;AAEX,wCAAwC;AACxC,eAAO,MAAM,yBAAyB,0CAG5B,CAAC;AAEX,uCAAuC;AACvC,eAAO,MAAM,kBAAkB,aAAa,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EdgeOne Vite Plugin - Shared Constants
|
|
3
|
+
*/
|
|
4
|
+
/** Server entry file candidates for auto-detection */
|
|
5
|
+
export const SERVER_ENTRY_CANDIDATES = [
|
|
6
|
+
"server.js",
|
|
7
|
+
"server.mjs",
|
|
8
|
+
"index.js",
|
|
9
|
+
"index.mjs",
|
|
10
|
+
"entry.js",
|
|
11
|
+
"entry.mjs",
|
|
12
|
+
"entry-server.js",
|
|
13
|
+
"entry-server.mjs",
|
|
14
|
+
];
|
|
15
|
+
/** Client build directory candidates */
|
|
16
|
+
export const DEFAULT_CLIENT_BUILD_DIRS = [
|
|
17
|
+
"dist/client",
|
|
18
|
+
"dist",
|
|
19
|
+
"build/client",
|
|
20
|
+
"build",
|
|
21
|
+
];
|
|
22
|
+
/** Server build directory candidates */
|
|
23
|
+
export const DEFAULT_SERVER_BUILD_DIRS = [
|
|
24
|
+
"dist/server",
|
|
25
|
+
"build/server",
|
|
26
|
+
];
|
|
27
|
+
/** Default EdgeOne output directory */
|
|
28
|
+
export const EDGEONE_OUTPUT_DIR = ".edgeone";
|
|
29
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,sDAAsD;AACtD,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,WAAW;IACX,YAAY;IACZ,UAAU;IACV,WAAW;IACX,UAAU;IACV,WAAW;IACX,iBAAiB;IACjB,kBAAkB;CACV,CAAC;AAEX,wCAAwC;AACxC,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,aAAa;IACb,MAAM;IACN,cAAc;IACd,OAAO;CACC,CAAC;AAEX,wCAAwC;AACxC,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,aAAa;IACb,cAAc;CACN,CAAC;AAEX,uCAAuC;AACvC,MAAM,CAAC,MAAM,kBAAkB,GAAG,UAAU,CAAC"}
|
package/package.json
CHANGED