@turnipxenon/pineapple 4.5.0-alpha.3 → 4.5.0-alpha.4
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/dist/util/env-getter.js +4 -2
- package/package.json +1 -1
package/dist/util/env-getter.js
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// import.meta.env.* works default everywhere
|
|
2
|
+
// env.* is for cloudflare
|
|
3
|
+
export const getCmsBaseUrl = () => import.meta.env.VITE_CMS_BASE_URL ?? env?.VITE_CMS_BASE_URL ?? 'https://gitlab.com/turnipxenon-personal/test-obdisian/-/raw/main';
|
|
4
|
+
export const getWebBaseUrl = () => import.meta.env.VITE_WEB_BASE_URL ?? env?.VITE_WEB_BASE_URL ?? '/pineapple';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turnipxenon/pineapple",
|
|
3
3
|
"description": "personal package for base styling for other personal projects",
|
|
4
|
-
"version": "4.5.0-alpha.
|
|
4
|
+
"version": "4.5.0-alpha.4",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@commitlint/cli": "^19.8.0",
|
|
7
7
|
"@commitlint/config-conventional": "^19.8.0",
|