@digipair/skill-web-ionic 0.65.0-alpha4 → 0.65.1
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/index.cjs.js
CHANGED
@@ -1,16 +1,19 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
+
const globalInstance = typeof window === 'undefined' ? global : window;
|
4
|
+
const config = globalInstance.__DIGIPAIR_CONFIG__;
|
5
|
+
const version = '8';
|
3
6
|
const coreStyles = document.createElement('link');
|
4
7
|
coreStyles.rel = 'stylesheet';
|
5
8
|
coreStyles.type = 'text/css';
|
6
|
-
coreStyles.href =
|
9
|
+
coreStyles.href = `${config.BASE_URL}/@ionic/core@${version}/css/core.css`;
|
7
10
|
document.head.appendChild(coreStyles);
|
8
11
|
const ionicBundleStyles = document.createElement('link');
|
9
12
|
ionicBundleStyles.rel = 'stylesheet';
|
10
13
|
ionicBundleStyles.type = 'text/css';
|
11
|
-
ionicBundleStyles.href =
|
14
|
+
ionicBundleStyles.href = `${config.BASE_URL}/@ionic/core@${version}/css/ionic.bundle.css`;
|
12
15
|
document.head.appendChild(ionicBundleStyles);
|
13
16
|
const ionicScript = document.createElement('script');
|
14
17
|
ionicScript.type = 'module';
|
15
|
-
ionicScript.src =
|
18
|
+
ionicScript.src = `${config.BASE_URL}/@ionic/core@${version}/dist/ionic/ionic.esm.js`;
|
16
19
|
document.head.appendChild(ionicScript);
|
package/index.esm.js
CHANGED
@@ -1,14 +1,17 @@
|
|
1
|
+
const globalInstance = typeof window === 'undefined' ? global : window;
|
2
|
+
const config = globalInstance.__DIGIPAIR_CONFIG__;
|
3
|
+
const version = '8';
|
1
4
|
const coreStyles = document.createElement('link');
|
2
5
|
coreStyles.rel = 'stylesheet';
|
3
6
|
coreStyles.type = 'text/css';
|
4
|
-
coreStyles.href =
|
7
|
+
coreStyles.href = `${config.BASE_URL}/@ionic/core@${version}/css/core.css`;
|
5
8
|
document.head.appendChild(coreStyles);
|
6
9
|
const ionicBundleStyles = document.createElement('link');
|
7
10
|
ionicBundleStyles.rel = 'stylesheet';
|
8
11
|
ionicBundleStyles.type = 'text/css';
|
9
|
-
ionicBundleStyles.href =
|
12
|
+
ionicBundleStyles.href = `${config.BASE_URL}/@ionic/core@${version}/css/ionic.bundle.css`;
|
10
13
|
document.head.appendChild(ionicBundleStyles);
|
11
14
|
const ionicScript = document.createElement('script');
|
12
15
|
ionicScript.type = 'module';
|
13
|
-
ionicScript.src =
|
16
|
+
ionicScript.src = `${config.BASE_URL}/@ionic/core@${version}/dist/ionic/ionic.esm.js`;
|
14
17
|
document.head.appendChild(ionicScript);
|
package/package.json
CHANGED
File without changes
|